diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2022-10-25 18:20:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-25 18:20:07 +0200 |
commit | 9835b095e56bdfc2b195b2c4741631b78a759115 (patch) | |
tree | 1fa8ee44cdc374d48c2307c1bd35085af74ec85b /cli/tests/integration/npm_tests.rs | |
parent | 10c3c0ee5733cfa5cf4c2825c6a8fce9f05060aa (diff) |
fix(npm): add support for npm packages in lock files (#15938)
This commit adds support for npm packages in the lock file.
Diffstat (limited to 'cli/tests/integration/npm_tests.rs')
-rw-r--r-- | cli/tests/integration/npm_tests.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cli/tests/integration/npm_tests.rs b/cli/tests/integration/npm_tests.rs index 9fc817141..8fa79d06c 100644 --- a/cli/tests/integration/npm_tests.rs +++ b/cli/tests/integration/npm_tests.rs @@ -158,6 +158,14 @@ itest!(import_map { http_server: true, }); +itest!(lock_file { + args: "run --allow-read --allow-env --unstable --lock npm/lock_file/lock.json npm/lock_file/main.js", + output: "npm/lock_file/main.out", + envs: env_vars(), + http_server: true, + exit_code: 10, +}); + itest!(sub_paths { args: "run --unstable -A --quiet npm/sub_paths/main.jsx", output: "npm/sub_paths/main.out", |