Skip to content

Commit 39423a5

Browse files
authored
Fix tests
1 parent 2f5abad commit 39423a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/index.spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ describe('HtmlWebpackInlineSourcePlugin', function () {
3838
fs.readFile(htmlFile, 'utf8', function (er, data) {
3939
expect(er).toBeFalsy();
4040
var $ = cheerio.load(data);
41-
expect($('script[src="bundle.js"]').html()).toBe('');
42-
expect($('link[href="style.css"]').html()).toBe('');
41+
expect($('script[src="bundle.js"]').html()).toBeNull();
42+
expect($('link[href="style.css"]').html()).toBeNull();
4343
done();
4444
});
4545
});

0 commit comments

Comments
 (0)