mirror of https://github.com/01-edu/public.git
DEV-4309 race bring issue from public (#1748)
* chore(test): restore test.mjs to how it was before * chore(race_test): remove comments
This commit is contained in:
parent
41fc91e649
commit
af780cabea
|
@ -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)
|
||||
|
|
|
@ -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')
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue