diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2022-10-01 22:21:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-01 22:21:19 +0200 |
commit | 048c06f84fe78742d6d9e64caa2aadcd212802a5 (patch) | |
tree | d678a4bf1ec7fbde32912d0cbce37eb1947cfb97 /cli/tests/integration/npm_tests.rs | |
parent | a6618dc01c890363bdbcc5f689389cbca1e8fb75 (diff) |
fix(npm): handle json files in require (#16125)
Diffstat (limited to 'cli/tests/integration/npm_tests.rs')
-rw-r--r-- | cli/tests/integration/npm_tests.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cli/tests/integration/npm_tests.rs b/cli/tests/integration/npm_tests.rs index db5330545..d111bd76e 100644 --- a/cli/tests/integration/npm_tests.rs +++ b/cli/tests/integration/npm_tests.rs @@ -181,6 +181,13 @@ itest!(nonexistent_file { exit_code: 1, }); +itest!(require_json { + args: "run --unstable -A --quiet npm/require_json/main.js", + output: "npm/require_json/main.out", + envs: env_vars(), + http_server: true, +}); + #[test] fn parallel_downloading() { let (out, _err) = util::run_and_collect_output_with_args( |