From 3b0de03b59b0e3eee09c9161dc05e39544108a53 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Sat, 10 Sep 2022 11:38:11 -0400 Subject: fix(npm): remove export binding to match node (#15837) --- cli/tests/integration/npm_tests.rs | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'cli/tests/integration') 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()), ] } -- cgit v1.2.3