diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2022-09-10 11:38:11 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-10 11:38:11 -0400 |
commit | 3b0de03b59b0e3eee09c9161dc05e39544108a53 (patch) | |
tree | 7f76eb991a258956490ec95c6b400a44740c81d2 /cli/tests/integration/npm_tests.rs | |
parent | a54d5654a26d29dfca1162ccc5476e9224a657e9 (diff) |
fix(npm): remove export binding to match node (#15837)
Diffstat (limited to 'cli/tests/integration/npm_tests.rs')
-rw-r--r-- | cli/tests/integration/npm_tests.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/cli/tests/integration/npm_tests.rs b/cli/tests/integration/npm_tests.rs index 463cec5a3..678734309 100644 --- a/cli/tests/integration/npm_tests.rs +++ b/cli/tests/integration/npm_tests.rs @@ -61,6 +61,14 @@ itest!(cjs_reexport_collision { http_server: true, }); +itest!(cjs_this_in_exports { + args: "run --allow-read --unstable --quiet npm/cjs_this_in_exports/main.js", + output: "npm/cjs_this_in_exports/main.out", + envs: env_vars(), + http_server: true, + exit_code: 1, +}); + itest!(translate_cjs_to_esm { args: "run --unstable -A --quiet npm/translate_cjs_to_esm/main.js", output: "npm/translate_cjs_to_esm/main.out", @@ -422,6 +430,7 @@ fn env_vars_no_sync_download() -> Vec<(String, String)> { "DENO_NPM_REGISTRY".to_string(), "http://localhost:4545/npm/registry/".to_string(), ), + ("NO_COLOR".to_string(), "1".to_string()), ] } |