From 4e71a9424e12a9711b41edce049ee026f0a904b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Thu, 21 Jul 2022 23:54:53 +0200 Subject: fix: proper typings for unhandledrejection event (#15271) --- cli/tests/testdata/unhandled_rejection.ts.out | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 cli/tests/testdata/unhandled_rejection.ts.out (limited to 'cli/tests/testdata/unhandled_rejection.ts.out') diff --git a/cli/tests/testdata/unhandled_rejection.ts.out b/cli/tests/testdata/unhandled_rejection.ts.out new file mode 100644 index 000000000..6addab20a --- /dev/null +++ b/cli/tests/testdata/unhandled_rejection.ts.out @@ -0,0 +1,9 @@ +[WILDCARD] +unhandled rejection at: Promise { + Error: bar not available + at new Foo (file:///[WILDCARD]/testdata/unhandled_rejection.ts:8:20) + at file:///[WILDCARD]/testdata/unhandled_rejection.ts:12:1 +} reason: Error: bar not available + at new Foo (file:///[WILDCARD]/testdata/unhandled_rejection.ts:8:20) + at file:///[WILDCARD]/testdata/unhandled_rejection.ts:12:1 +unhandled rejection at: Promise { undefined } reason: undefined -- cgit v1.2.3