Skip to content

Commit 3b0f9c7

Browse files
committed
Merge pull request webpack#724 from kpdecker/after-resolve-async-failure
Add test failure for after-resolve async
2 parents 5b1d9ef + c45d8c2 commit 3b0f9c7

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

test/Integration.test.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,9 @@ describe("Integration", function() {
7070
this.plugin("normal-module-factory", function(nmf) {
7171
nmf.plugin("after-resolve", function(data, callback) {
7272
data.resource = data.resource.replace(/extra\.js/, "extra2.js");
73-
callback(null, data);
73+
setTimeout(function() {
74+
callback(null, data);
75+
}, 50);
7476
});
7577
});
7678
}

0 commit comments

Comments
 (0)