summaryrefslogtreecommitdiff
path: root/cli/tests/integration/npm_tests.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2022-08-24 11:25:32 -0400
committerGitHub <noreply@github.com>2022-08-24 11:25:32 -0400
commit684aabbc252fe895e8f5de82c5fa4b7b6290f3ea (patch)
tree4bc64d132f118f0a1265d323c5e569d221a65437 /cli/tests/integration/npm_tests.rs
parenta4cc09447e73d27b15201e7240fa056f06e34b9f (diff)
feat: support subpaths in npm package references (#15578)
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 32067be8c..98ab347b9 100644
--- a/cli/tests/integration/npm_tests.rs
+++ b/cli/tests/integration/npm_tests.rs
@@ -68,6 +68,13 @@ itest!(import_map {
http_server: true,
});
+itest!(sub_paths {
+ args: "run --unstable -A --quiet npm/sub_paths/main.jsx",
+ output: "npm/sub_paths/main.out",
+ envs: env_vars(),
+ http_server: true,
+});
+
#[test]
fn parallel_downloading() {
let (out, _err) = util::run_and_collect_output_with_args(