Skip to content

Commit ac7ab1f

Browse files
JounQinjoshwiens
authored andcommitted
test: fix test error
1 parent 16c0858 commit ac7ab1f

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

test/moduleMinimizeTest.js

+8-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,13 @@ describe("module minimize", function() {
1212
var source = fs.readFileSync(path.join(testCasesPath, name, "source.css"), "utf-8");
1313
var expected = fs.readFileSync(path.join(testCasesPath, name, "expected.css"), "utf-8");
1414

15-
test(name, source, expected, "?module&minimize&sourceMap&-discardComments&localIdentName=_[local]_");
15+
test(name, source, expected, '?' + JSON.stringify({
16+
module: true,
17+
sourceMap: true,
18+
minimize: {
19+
discardComments: false
20+
},
21+
localIdentName: '_[local]_'
22+
}));
1623
});
1724
});

0 commit comments

Comments
 (0)