From 115de4c81ae6e009c66ac36748fa55f8d3b27b0f Mon Sep 17 00:00:00 2001 From: Deepanshu Utkarsh Date: Tue, 29 Dec 2020 09:24:19 -0500 Subject: fix(core): Fix incorrect index in Promise.all error reporting (#8913) --- cli/tests/error_024_stack_promise_all.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'cli/tests/error_024_stack_promise_all.ts') 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 => { await Promise.resolve(); throw new Error("Promise.all()"); -- cgit v1.2.3