From 684aabbc252fe895e8f5de82c5fa4b7b6290f3ea Mon Sep 17 00:00:00 2001 From: David Sherret Date: Wed, 24 Aug 2022 11:25:32 -0400 Subject: feat: support subpaths in npm package references (#15578) --- 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 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( -- cgit v1.2.3