summaryrefslogtreecommitdiff
path: root/cli/tests/error_024_stack_promise_all.ts
diff options
context:
space:
mode:
authorDeepanshu Utkarsh <duci9y@users.noreply.github.com>2020-12-29 09:24:19 -0500
committerGitHub <noreply@github.com>2020-12-29 15:24:19 +0100
commit115de4c81ae6e009c66ac36748fa55f8d3b27b0f (patch)
treea8da700a6fe2285bcfc357789970904903d4abad /cli/tests/error_024_stack_promise_all.ts
parent24844a00527f58466b0b057da70b61f8278b84f5 (diff)
fix(core): Fix incorrect index in Promise.all error reporting (#8913)
Diffstat (limited to 'cli/tests/error_024_stack_promise_all.ts')
-rw-r--r--cli/tests/error_024_stack_promise_all.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/tests/error_024_stack_promise_all.ts b/cli/tests/error_024_stack_promise_all.ts
index 5334e8d77..ddaf0dbaa 100644
--- a/cli/tests/error_024_stack_promise_all.ts
+++ b/cli/tests/error_024_stack_promise_all.ts
@@ -1,4 +1,5 @@
const p = Promise.all([
+ Promise.resolve(),
(async (): Promise<never> => {
await Promise.resolve();
throw new Error("Promise.all()");