fix self hosted tests

This commit is contained in:
Dmitry Vasilev
2022-12-19 15:46:13 +08:00
parent d43c4ee71c
commit 88295a526a
5 changed files with 105 additions and 79 deletions

View File

@@ -174,7 +174,7 @@ export const run = Object.defineProperty(new AsyncFunction('tests', `
async (failureP, t) => {
const failure = await failureP
const next_failure = await run_test(t)
return (await failure) ?? next_failure
return failure ?? next_failure
},
null
)