diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2023-07-17 17:17:58 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-17 17:17:58 -0400 |
commit | b09af6a4244356485054948499dba5f94d8814f4 (patch) | |
tree | 1663deddf06f2267caaffc1084e7e15af48196ac /cli/tests/integration/npm_tests.rs | |
parent | 298e4149368b23fee573fa27f1a00e0c50828c8c (diff) |
fix(npm): support dynamic import of Deno TS from npm package (#19858)
Closes #19843
Diffstat (limited to 'cli/tests/integration/npm_tests.rs')
-rw-r--r-- | cli/tests/integration/npm_tests.rs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/cli/tests/integration/npm_tests.rs b/cli/tests/integration/npm_tests.rs index 2f998e3a2..f1ba0cdfa 100644 --- a/cli/tests/integration/npm_tests.rs +++ b/cli/tests/integration/npm_tests.rs @@ -107,9 +107,14 @@ itest!(cjs_require_esm_mjs_error { itest!(require_esm_error { args: "run --allow-read --quiet node/require_esm_error/main.ts", output: "node/require_esm_error/main.out", + exit_code: 1, +}); + +itest!(dynamic_import_deno_ts_from_npm { + args: "run --allow-read --quiet npm/dynamic_import_deno_ts_from_npm/main.ts", + output: "npm/dynamic_import_deno_ts_from_npm/main.out", envs: env_vars_for_npm_tests(), http_server: true, - exit_code: 1, }); itest!(translate_cjs_to_esm { |