summaryrefslogtreecommitdiff
path: root/cli/tests/integration/npm_tests.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2022-08-31 00:31:59 +0200
committerGitHub <noreply@github.com>2022-08-31 00:31:59 +0200
commitadec4f575eb19a48cefe451ce3962a6a4754e3ba (patch)
treeab2c6384364c45b0ce1f7d6ae225dae56d3ed8b6 /cli/tests/integration/npm_tests.rs
parent79fe8ffff8f5032ed11df410c14acadfa1a74946 (diff)
fix(npm): translate CJS to ESM with name clashes for files and dirs (#15697)
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 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",