summaryrefslogtreecommitdiff
path: root/cli/tests/integration/npm_tests.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2022-08-26 14:34:35 -0400
committerGitHub <noreply@github.com>2022-08-26 14:34:35 -0400
commitec98d86d216594e8fb8b63d32e2357d556a1b19f (patch)
tree302aebedfe5d584a5be05086c2c387c56c99dd16 /cli/tests/integration/npm_tests.rs
parent9b324b1cf4a8ee4159abb041e72a8885a28e92a3 (diff)
fix(npm): handle cjs re-exports with the same name as an export (#15626)
Diffstat (limited to 'cli/tests/integration/npm_tests.rs')
-rw-r--r--cli/tests/integration/npm_tests.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/cli/tests/integration/npm_tests.rs b/cli/tests/integration/npm_tests.rs
index 6e47da8f6..b890232a3 100644
--- a/cli/tests/integration/npm_tests.rs
+++ b/cli/tests/integration/npm_tests.rs
@@ -54,6 +54,13 @@ itest!(cjs_local_global_decls {
http_server: true,
});
+itest!(cjs_reexport_collision {
+ args: "run --unstable -A --quiet npm/cjs_reexport_collision/main.ts",
+ output: "npm/cjs_reexport_collision/main.out",
+ envs: env_vars(),
+ http_server: true,
+});
+
itest!(compare_globals {
args: "run --allow-read --unstable npm/compare_globals/main.js",
output: "npm/compare_globals/main.out",