summaryrefslogtreecommitdiff
path: root/cli/tests/integration/npm_tests.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2022-08-26 09:17:48 -0400
committerGitHub <noreply@github.com>2022-08-26 09:17:48 -0400
commitf583a7ebf4f7c4ef21061fba802f80fd2d5299e7 (patch)
tree932cbbd35ee2787e62150238ab6aa391708a1086 /cli/tests/integration/npm_tests.rs
parentf35900eb5b44869626e9e4f3fbc6d0fe268d2b56 (diff)
chore(npm): add test for esm npm binary package (#15609)
Diffstat (limited to 'cli/tests/integration/npm_tests.rs')
-rw-r--r--cli/tests/integration/npm_tests.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/cli/tests/integration/npm_tests.rs b/cli/tests/integration/npm_tests.rs
index c46f8e92b..582284c36 100644
--- a/cli/tests/integration/npm_tests.rs
+++ b/cli/tests/integration/npm_tests.rs
@@ -226,6 +226,13 @@ itest!(deno_run_cowthink {
http_server: true,
});
+itest!(deno_run_esm_module {
+ args: "run --unstable -A --quiet npm:@denotest/esm-bin this is a test",
+ output: "npm/deno_run_esm.out",
+ envs: env_vars(),
+ http_server: true,
+});
+
itest!(deno_run_non_existent {
args: "run --unstable npm:mkdirp@0.5.125",
output: "npm/deno_run_non_existent.out",