diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2022-09-10 15:00:45 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-10 15:00:45 -0400 |
commit | dee9f0acaf705eacc5cbda806b2ae3937eeaab0e (patch) | |
tree | ba7d7f747684c37d39cbf133b195b1a6993755e1 /cli/tests/integration/npm_tests.rs | |
parent | a3df6bb344c97c13e7df3d89cb0aa52d6fa9d207 (diff) |
fix(npm): align Node esm code importing cjs with Node (#15838)
Diffstat (limited to 'cli/tests/integration/npm_tests.rs')
-rw-r--r-- | cli/tests/integration/npm_tests.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cli/tests/integration/npm_tests.rs b/cli/tests/integration/npm_tests.rs index 678734309..8bbb89d65 100644 --- a/cli/tests/integration/npm_tests.rs +++ b/cli/tests/integration/npm_tests.rs @@ -33,6 +33,13 @@ itest!(esm_module_deno_test { http_server: true, }); +itest!(esm_import_cjs_default { + args: "run --allow-read --allow-env --unstable --quiet npm/esm_import_cjs_default/main.js", + output: "npm/esm_import_cjs_default/main.out", + envs: env_vars(), + http_server: true, +}); + itest!(cjs_with_deps { args: "run --allow-read --allow-env --unstable npm/cjs_with_deps/main.js", output: "npm/cjs_with_deps/main.out", |