diff options
Diffstat (limited to 'tests/testdata/run/error_024_stack_promise_all.ts')
-rw-r--r-- | tests/testdata/run/error_024_stack_promise_all.ts | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/tests/testdata/run/error_024_stack_promise_all.ts b/tests/testdata/run/error_024_stack_promise_all.ts deleted file mode 100644 index 8ca7b203c..000000000 --- a/tests/testdata/run/error_024_stack_promise_all.ts +++ /dev/null @@ -1,16 +0,0 @@ -const p = Promise.all([ - Promise.resolve(), - (async (): Promise<never> => { - await Promise.resolve(); - throw new Error("Promise.all()"); - })(), -]); - -try { - await p; -} catch (error) { - if (error instanceof Error) { - console.log(error.stack); - } - throw error; -} |