From 315f6dfc2e1107e6a8ecb8ba3d397dfac03159da Mon Sep 17 00:00:00 2001 From: Siarhei_Kliushnikau Date: Sun, 22 Sep 2024 10:21:59 +0200 Subject: [PATCH] fixed linter issue --- packages/playwright/src/worker/workerMain.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/playwright/src/worker/workerMain.ts b/packages/playwright/src/worker/workerMain.ts index 3791466a21..969fb83bbc 100644 --- a/packages/playwright/src/worker/workerMain.ts +++ b/packages/playwright/src/worker/workerMain.ts @@ -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'); }