diff --git a/test/cases/parsing/bom/index.js b/test/cases/parsing/bom/index.js index 20d38778569..7e8eead4a4a 100644 --- a/test/cases/parsing/bom/index.js +++ b/test/cases/parsing/bom/index.js @@ -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}"); });