Skip to content

Commit

Permalink
Fix failing appveyor test (#1431)
Browse files Browse the repository at this point in the history
Fixes a failing appveyor html test
  • Loading branch information
Jasper De Moor authored and fathyb committed May 24, 2018
1 parent 1614918 commit 1cb05e0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/html.js
@@ -1,6 +1,7 @@
const assert = require('assert');
const fs = require('fs');
const {bundle, assertBundleTree} = require('./utils');
const path = require('path');

describe('html', function() {
it('should support bundling HTML', async function() {
Expand Down Expand Up @@ -107,7 +108,10 @@ describe('html', function() {
__dirname + '/integration/posthtml-assets/index.html'
);
const asset = b.assets.values().next().value;
const other = __dirname + '/integration/posthtml-assets/other.html';
const other = path.join(
__dirname,
'/integration/posthtml-assets/other.html'
);
assert(asset.dependencies.has(other));
assert(asset.dependencies.get(other).includedInParent);
});
Expand Down

0 comments on commit 1cb05e0

Please sign in to comment.