blob: 50b0ad6ab1850170d3c25295453b37a9095dff7d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
Check [WILDCARD]/test/unhandled_rejection.ts
Uncaught error from ./test/unhandled_rejection.ts FAILED
ERRORS
./test/unhandled_rejection.ts (uncaught error)
error: (in promise) Error: rejection
reject(new Error("rejection"));
^
at [WILDCARD]/test/unhandled_rejection.ts:2:10
at new Promise (<anonymous>)
at [WILDCARD]/test/unhandled_rejection.ts:1:1
This error was not caught from a test and caused the test runner to fail on the referenced module.
It most likely originated from a dangling promise, event/timeout handler or top-level code.
FAILURES
./test/unhandled_rejection.ts (uncaught error)
test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out ([WILDCARD])
error: Test failed
|