disabled timeout for waiting for browser tests to complete

This commit is contained in:
Juanra Dikal 2021-04-21 18:26:18 +02:00
parent ba6ce7c8f0
commit ed328f3968
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ const browserTests = async ({ logWarnings = false, serverPort = 38000, keepServe
page.on('error', function (err) { page.emit(new Error(err)) })
await page.goto('http://localhost:38000/')
const watchDog = page.waitForFunction('_mocha.state === \'stopped\'')
const watchDog = page.waitForFunction('_mocha.state === \'stopped\'', { timeout: 0 })
await watchDog
if (keepServerRunning === false) {