diff --git a/js/tests/race_test.js b/js/tests/race_test.js index 5834c89f..b42888b4 100644 --- a/js/tests/race_test.js +++ b/js/tests/race_test.js @@ -1,6 +1,3 @@ -// @davhojt commented out Promise.race as a quick fix. -// @eslopfer is working on a fix on a fix on branch: DEV-4309-race-bring-issue-from-public -// Promise.race = undefined // /*/ // ⚡ export const tests = [] const t = (f) => tests.push(f) diff --git a/js/tests/test.mjs b/js/tests/test.mjs index 5c6c860d..ad9b866e 100644 --- a/js/tests/test.mjs +++ b/js/tests/test.mjs @@ -180,7 +180,7 @@ const runTests = async ({ url, path, code }) => { new Promise((s, f) => { timeout = setTimeout(f, 60000, Error('Time limit reached (1min)')) }), - ]) + ]) if (!(await waitWithTimeout) && !isDOM) { throw Error('Test failed') }