diff options
| author | Matt Mastracci <matthew@mastracci.com> | 2023-12-06 17:02:52 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-06 17:02:52 -0700 |
| commit | 9314928990a6cbd0bc0abe3100872ba2682eda9a (patch) | |
| tree | 462d19eeaac0974a752128ad5d8b64e1066be8af /cli/tests/testdata/node/require_esm_error | |
| parent | 68d356eed91731cd0c13eb946f296aa90ef4d5ac (diff) | |
chore: bump deno_core and update tests (#21467)
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.
Diffstat (limited to 'cli/tests/testdata/node/require_esm_error')
| -rw-r--r-- | cli/tests/testdata/node/require_esm_error/main.out | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tests/testdata/node/require_esm_error/main.out b/cli/tests/testdata/node/require_esm_error/main.out index c7b355411..3db23ff24 100644 --- a/cli/tests/testdata/node/require_esm_error/main.out +++ b/cli/tests/testdata/node/require_esm_error/main.out @@ -1,3 +1,3 @@ -error: Uncaught Error: require() of ES Module [WILDCARD]esm.js from [WILDCARD]main.ts not supported. Instead change the require to a dynamic import() which is available in all CommonJS modules. +error: Uncaught (in promise) Error: require() of ES Module [WILDCARD]esm.js from [WILDCARD]main.ts not supported. Instead change the require to a dynamic import() which is available in all CommonJS modules. at [WILDCARD] at file:///[WILDCARD]/require_esm_error/main.ts:5:1 |
