diff options
Diffstat (limited to 'cli/tests/error_023_stack_async.ts')
| -rw-r--r-- | cli/tests/error_023_stack_async.ts | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/cli/tests/error_023_stack_async.ts b/cli/tests/error_023_stack_async.ts deleted file mode 100644 index 99e676e26..000000000 --- a/cli/tests/error_023_stack_async.ts +++ /dev/null @@ -1,12 +0,0 @@ -const p = (async () => { - await Promise.resolve().then((): never => { - throw new Error("async"); - }); -})(); - -try { - await p; -} catch (error) { - console.log(error.stack); - throw error; -} |
