Skip to content

Commit 50ce77d

Browse files
committed
fixed test cases for new manifest format
1 parent 265ba97 commit 50ce77d

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

test/configCases/delegated/simple/webpack.config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ module.exports = {
66
type: "require",
77
context: __dirname,
88
content: {
9-
"./a.js": 0,
10-
"./loader.js!./b.js": 1,
11-
"./dir/c.js": 2
9+
"./a.js": { id: 0 },
10+
"./loader.js!./b.js": { id: 1 },
11+
"./dir/c.js": { id: 2 }
1212
}
1313
})
1414
]

test/configCases/plugins/lib-manifest-plugin/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ it("should write the correct manifest", function() {
1313
manifest.should.have.key("content", "name");
1414
manifest.content.should.not.have.property("./a.js");
1515
manifest.content.should.have.property("./index.js");
16-
manifest.content["./index.js"].should.eql(module.id);
16+
manifest.content["./index.js"].should.have.property("id").eql(module.id);
1717
});

0 commit comments

Comments
 (0)