diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2022-09-03 15:43:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-03 15:43:35 +0200 |
commit | fc4025c878a7986576f693ed3ad297212f6a99de (patch) | |
tree | 3df737382ba4ac61148a31d23cb96296e5daa419 /cli/tests/integration/npm_tests.rs | |
parent | 223403e899c934e23ea3012cc1bbba0b1a3ce92a (diff) |
fix(npm): add more context to errors when file doesn't exist (#15749)
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 922bfe70f..b8867868f 100644 --- a/cli/tests/integration/npm_tests.rs +++ b/cli/tests/integration/npm_tests.rs @@ -131,6 +131,14 @@ itest!(tarball_with_global_header { http_server: true, }); +itest!(nonexistent_file { + args: "run --unstable -A --quiet npm/nonexistent_file/main.js", + output: "npm/nonexistent_file/main.out", + envs: env_vars(), + http_server: true, + exit_code: 1, +}); + #[test] fn parallel_downloading() { let (out, _err) = util::run_and_collect_output_with_args( |