1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-14 19:37:59 -05:00
denoland-deno/tests/specs/test/unhandled_rejection/main.out

23 lines
570 B
Text
Raw Normal View History

Check [WILDCARD]/main.ts
Uncaught error from ./main.ts FAILED
ERRORS
./main.ts (uncaught error)
error: (in promise) Error: rejection
reject(new Error("rejection"));
^
at [WILDCARD]/main.ts:2:10
at new Promise (<anonymous>)
at [WILDCARD]/main.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
./main.ts (uncaught error)
FAILED | 0 passed | 1 failed ([WILDCARD])
error: Test failed