mirror of
https://github.com/denoland/deno.git
synced 2024-12-27 01:29:14 -05:00
9314928990
Landing changes required for https://github.com/denoland/deno_core/pull/359 We needed to update 99_main.js and a whole load of tests. API changes: - setPromiseRejectCallback becomes setUnhandledPromiseRejectionHandler. The function is now called from eventLoopTick. - The promiseRejectMacrotaskCallback no longer exists, as this is automatically handled in eventLoopTick. - ops.op_dispatch_exception now takes a second parameter: in_promise. The preferred way to call this op is now reportUnhandledException or reportUnhandledPromiseRejection.
19 lines
516 B
Text
19 lines
516 B
Text
Uncaught error from ./test/no_check.ts FAILED
|
|
|
|
ERRORS
|
|
|
|
./test/no_check.ts (uncaught error)
|
|
error: (in promise) TypeError: Cannot read properties of undefined (reading 'fn')
|
|
Deno.test();
|
|
^
|
|
at [WILDCARD]
|
|
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/no_check.ts (uncaught error)
|
|
|
|
FAILED | 0 passed | 1 failed ([WILDCARD])
|
|
|
|
error: Test failed
|