We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b531cc7 commit 6056e26Copy full SHA for 6056e26
2 files changed
src/framework/Framework.ts
@@ -86,6 +86,10 @@ export class Framework {
86
testee.describe(test, this.runs);
87
});
88
89
+
90
+ after('Shutdown testbed', async function () {
91
+ await testee.shutdown();
92
+ });
93
94
95
}
src/framework/Testee.ts
@@ -86,6 +86,10 @@ export class Testee { // TODO unified with testbed interface
+ public async shutdown(): Promise<void> {
+ return this.testbed?.kill();
+ }
public describe(description: TestScenario, runs: number = 1) {
const testee = this;
const call: SuiteFunction | PendingSuiteFunction = description.skip ? describe.skip : this.suiteFunction;
0 commit comments