test: replace setTimeout with builtinSetTimeout in UI mode test (#34885)

This commit is contained in:
Max Schmitt 2025-02-21 07:38:24 -08:00 committed by GitHub
parent af61d659cb
commit 132d93151c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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()