Skip to content

Commit 3dc80ef

Browse files
test: tap afterEmit on the parser-cache release mock compiler
1 parent 0102e2b commit 3dc80ef

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎test/unitCases/WebpackParser.unittest.js‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2382,6 +2382,7 @@ describe("WebpackParser acorn-override fast-path gates", () => {
23822382
hooks: {
23832383
done: new AsyncSeriesHook(["stats"]),
23842384
failed: new SyncHook(["error"]),
2385+
afterEmit: new AsyncSeriesHook(["compilation"]),
23852386
compilation: new SyncHook(["compilation", "params"])
23862387
}
23872388
};

0 commit comments

Comments
 (0)