diff options
Diffstat (limited to 'cli/tests/testdata/npm')
| -rw-r--r-- | cli/tests/testdata/npm/cjs_require_esm_error/main.out | 4 | ||||
| -rw-r--r-- | cli/tests/testdata/npm/cjs_require_esm_mjs_error/main.out | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/cli/tests/testdata/npm/cjs_require_esm_error/main.out b/cli/tests/testdata/npm/cjs_require_esm_error/main.out index dcb3d15b7..5c735b3a6 100644 --- a/cli/tests/testdata/npm/cjs_require_esm_error/main.out +++ b/cli/tests/testdata/npm/cjs_require_esm_error/main.out @@ -1,4 +1,2 @@ -error: Uncaught Error: [ERR_REQUIRE_ESM]: require() of ES Module [WILDCARD]my_esm_module.js from [WILDCARD]index.js not supported. Instead change the require to a dynamic import() which is available in all CommonJS modules. - at Object.Module._extensions..js (node:module:[WILDCARD]) +error: Uncaught Error: require() of ES Module [WILDCARD]my_esm_module.js from [WILDCARD]index.js not supported. Instead change the require to a dynamic import() which is available in all CommonJS modules. [WILDCARD] - at Module.load (node:module:[WILDCARD]) diff --git a/cli/tests/testdata/npm/cjs_require_esm_mjs_error/main.out b/cli/tests/testdata/npm/cjs_require_esm_mjs_error/main.out index df37e997a..e6a8abe27 100644 --- a/cli/tests/testdata/npm/cjs_require_esm_mjs_error/main.out +++ b/cli/tests/testdata/npm/cjs_require_esm_mjs_error/main.out @@ -1,4 +1,2 @@ -error: Uncaught Error: [ERR_REQUIRE_ESM]: require() of ES Module [WILDCARD]esm_mjs.mjs from [WILDCARD]require_mjs.js not supported. Instead change the require to a dynamic import() which is available in all CommonJS modules. - at Module.load (node:module:[WILDCARD]) +error: Uncaught Error: require() of ES Module [WILDCARD]esm_mjs.mjs from [WILDCARD]require_mjs.js not supported. Instead change the require to a dynamic import() which is available in all CommonJS modules. [WILDCARD] - at Function.Module._load (node:module:[WILDCARD]) |
