From ec98d86d216594e8fb8b63d32e2357d556a1b19f Mon Sep 17 00:00:00 2001 From: David Sherret Date: Fri, 26 Aug 2022 14:34:35 -0400 Subject: fix(npm): handle cjs re-exports with the same name as an export (#15626) --- cli/tests/integration/npm_tests.rs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'cli/tests/integration') 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", -- cgit v1.2.3