diff options
author | Yoshiya Hinosawa <stibium121@gmail.com> | 2022-11-19 20:32:39 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-19 20:32:39 +0900 |
commit | 7ab08130a06850f7d30bca8088799926f03e2a84 (patch) | |
tree | 40f35c4aac0d5d0ad1333889306d371784e30c2d /cli/tests/integration/npm_tests.rs | |
parent | 763d492ed69c3a22310dd5c758995fbbbf3e06b8 (diff) |
fix(ext/node): handle URL in createRequire (#16682)
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 e29c1452e..fb79a1cb0 100644 --- a/cli/tests/integration/npm_tests.rs +++ b/cli/tests/integration/npm_tests.rs @@ -1470,6 +1470,14 @@ itest!(info_peer_deps_json { http_server: true, }); +itest!(create_require { + args: "run --reload npm/create_require/main.ts", + output: "npm/create_require/main.out", + exit_code: 0, + envs: env_vars(), + http_server: true, +}); + fn env_vars_no_sync_download() -> Vec<(String, String)> { vec![ ("DENO_NODE_COMPAT_URL".to_string(), util::std_file_url()), |