From 70a2db580f0e5b53a2eb5e130e230a411939ed18 Mon Sep 17 00:00:00 2001 From: HarelM Date: Thu, 9 Jul 2026 16:31:27 +0300 Subject: [PATCH] replace for ;; with while true. --- e2e/playwright-helper.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/e2e/playwright-helper.ts b/e2e/playwright-helper.ts index 58dabfe5..b99a2f02 100644 --- a/e2e/playwright-helper.ts +++ b/e2e/playwright-helper.ts @@ -20,7 +20,7 @@ async function retry( ): Promise { const start = Date.now(); let lastError: unknown; - for (;;) { + while (true) { try { await assertion(); return; @@ -382,7 +382,7 @@ export class PlaywrightHelper { let chunkSize = 1000; const chunk = new Array(chunkSize).join("x"); let index = 0; - for (;;) { + while (true) { try { window.localStorage.setItem(`${prefix}${index++}`, chunk); } catch (e: any) {