fixed linter issue
This commit is contained in:
parent
6a8b308cb8
commit
315f6dfc2e
|
|
@ -541,9 +541,8 @@ export class WorkerMain extends ProcessRunner {
|
||||||
private async _runAfterAllHooksForSuite(suite: Suite, testInfo: TestInfoImpl) {
|
private async _runAfterAllHooksForSuite(suite: Suite, testInfo: TestInfoImpl) {
|
||||||
if (!this._activeSuites.has(suite))
|
if (!this._activeSuites.has(suite))
|
||||||
return;
|
return;
|
||||||
if (!process.env.NONE_ISOLATED) {
|
if (!process.env.NONE_ISOLATED)
|
||||||
this._activeSuites.delete(suite);
|
this._activeSuites.delete(suite);
|
||||||
}
|
|
||||||
await this._runAllHooksForSuite(suite, testInfo, 'afterAll');
|
await this._runAllHooksForSuite(suite, testInfo, 'afterAll');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue