Skip to content

Commit 7887d61

Browse files
committed
fixed test and comment
1 parent 45fcb1f commit 7887d61

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎lib/node/NodeMainTemplatePlugin.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ NodeMainTemplatePlugin.prototype.apply = function(mainTemplate) {
1616
source,
1717
"",
1818
"// object to store loaded chunks",
19-
"// \"1\" means \"already loaded\"",
19+
"// \"0\" means \"already loaded\"",
2020
"var installedChunks = {",
2121
this.indent(
2222
chunk.ids.map(function(id) {

‎test/cases/chunks/runtime/index.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ it("should not load a chunk which is included in a already loaded one", function
3131
sync.should.be.eql(true);
3232
done();
3333
});
34-
Promise.resolve().then(function() {
34+
Promise.resolve().then(function() {}).then(function() {
3535
sync = false;
3636
});
3737
}

0 commit comments

Comments
 (0)