Skip to content

Commit

Permalink
fix test cases for node 16
Browse files Browse the repository at this point in the history
  • Loading branch information
sokra committed Apr 28, 2021
1 parent 3ddadb2 commit 2bcf0c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/cases/parsing/bom/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ it("should load a utf-8 file with BOM", function () {
});

it("should load a css file with BOM", function () {
var css = require("!css-loader!./bomfile.css").default + "";
var css = require("!css-loader?sourceMap=false!./bomfile.css").default + "";
expect(css).toBe("body{color:#abc}");
});

Expand Down

0 comments on commit 2bcf0c2

Please sign in to comment.