summaryrefslogtreecommitdiff
path: root/tests/integration/npm_tests.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2024-03-09 10:21:31 -0500
committerGitHub <noreply@github.com>2024-03-09 10:21:31 -0500
commit5d3d4eba398ce862aa57d5de43d17e7ae1d45d3c (patch)
tree75f528a8e1593ed46383aab2e7114445e0f8d34d /tests/integration/npm_tests.rs
parente1fb174f86adce421ee6bbce70e5dc1558c10868 (diff)
fix(node): require of pkg json imports was broken (#22821)
Diffstat (limited to 'tests/integration/npm_tests.rs')
-rw-r--r--tests/integration/npm_tests.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/integration/npm_tests.rs b/tests/integration/npm_tests.rs
index 7c34415da..7df9e4f8a 100644
--- a/tests/integration/npm_tests.rs
+++ b/tests/integration/npm_tests.rs
@@ -477,6 +477,13 @@ itest!(run_existing_npm_package_with_subpath {
copy_temp_dir: Some("npm/run_existing_npm_package_with_subpath/"),
});
+itest!(cjs_pkg_imports {
+ args: "run -A npm/cjs_pkg_imports/main.ts",
+ output: "npm/cjs_pkg_imports/main.out",
+ envs: env_vars_for_npm_tests(),
+ http_server: true,
+});
+
#[test]
fn parallel_downloading() {
let (out, _err) = util::run_and_collect_output_with_args(