fixed linter issue

This commit is contained in:
Siarhei_Kliushnikau 2024-09-22 10:21:59 +02:00
parent 6a8b308cb8
commit 315f6dfc2e

View file

@ -541,9 +541,8 @@ export class WorkerMain extends ProcessRunner {
private async _runAfterAllHooksForSuite(suite: Suite, testInfo: TestInfoImpl) {
if (!this._activeSuites.has(suite))
return;
if (!process.env.NONE_ISOLATED) {
if (!process.env.NONE_ISOLATED)
this._activeSuites.delete(suite);
}
await this._runAllHooksForSuite(suite, testInfo, 'afterAll');
}