From ed328f396866d19c22083f633fe56bf7000ddded Mon Sep 17 00:00:00 2001 From: Juanra Dikal Date: Wed, 21 Apr 2021 18:26:18 +0200 Subject: [PATCH] disabled timeout for waiting for browser tests to complete --- build/testing/browser/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/testing/browser/index.js b/build/testing/browser/index.js index bbb0438..843229c 100644 --- a/build/testing/browser/index.js +++ b/build/testing/browser/index.js @@ -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) {