From 08b33281a8ba9ebf276e875b11ab10d3e1ac030b Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Fri, 21 Feb 2025 15:21:56 +0100 Subject: [PATCH] test: replace setTimeout with builtinSetTimeout in UI mode test --- tests/playwright-test/ui-mode-test-output.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/playwright-test/ui-mode-test-output.spec.ts b/tests/playwright-test/ui-mode-test-output.spec.ts index ccec39df74..fa44daabb9 100644 --- a/tests/playwright-test/ui-mode-test-output.spec.ts +++ b/tests/playwright-test/ui-mode-test-output.spec.ts @@ -130,7 +130,7 @@ test('should collapse repeated console messages for test', async ({ runUITest }) await new Promise(resolve => { for (let i = 0; i < 10; ++i) console.log('page message') - setTimeout(() => { + builtinSetTimeout(() => { for (let i = 0; i < 10; ++i) console.log('page message') resolve()