From adec4f575eb19a48cefe451ce3962a6a4754e3ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Wed, 31 Aug 2022 00:31:59 +0200 Subject: fix(npm): translate CJS to ESM with name clashes for files and dirs (#15697) --- cli/tests/integration/npm_tests.rs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'cli/tests/integration/npm_tests.rs') diff --git a/cli/tests/integration/npm_tests.rs b/cli/tests/integration/npm_tests.rs index 6d0495454..922bfe70f 100644 --- a/cli/tests/integration/npm_tests.rs +++ b/cli/tests/integration/npm_tests.rs @@ -61,6 +61,13 @@ itest!(cjs_reexport_collision { http_server: true, }); +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", + 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