Skip to content

Commit e7005e5

Browse files
authored
test: close compiler (#11764)
1 parent 6f25ba7 commit e7005e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/rspack-test-tools/src/test/tester.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,9 @@ export class Tester implements ITester {
8282
for (const i of this.steps) {
8383
if (typeof i.afterAll === "function") {
8484
await i.afterAll(this.context);
85-
await this.context.closeCompiler(this.config.name);
8685
}
8786
}
87+
await this.context.closeCompiler(this.config.name);
8888
}
8989

9090
private async runStepMethods(

0 commit comments

Comments
 (0)