Skip to content

Commit

Permalink
update test case to reflect change
Browse files Browse the repository at this point in the history
  • Loading branch information
sokra committed May 25, 2018
1 parent f026310 commit 69567a1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion test/configCases/records/stable-sort/test.js
Expand Up @@ -10,5 +10,5 @@ it("sorts the usedIds array to prevent churn", function() {
var fs = require("fs");
var path = require("path");
var records = JSON.parse(fs.readFileSync(path.join(__dirname, "records.json"), "utf-8"));
expect(records.chunks.usedIds).toEqual([0, "main", "split"]);
expect(records.chunks.usedIds).toEqual([0, 1, 2]);
});
3 changes: 3 additions & 0 deletions test/configCases/records/stable-sort/webpack.config.js
Expand Up @@ -7,6 +7,9 @@ module.exports = {
__dirname,
"../../../js/config/records/stable-sort/records.json"
),
optimization: {
namedChunks: false
},
target: "node",
node: {
__dirname: false
Expand Down

0 comments on commit 69567a1

Please sign in to comment.