summaryrefslogtreecommitdiff
path: root/tests/specs/npm/deno_run_bin_cjs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/specs/npm/deno_run_bin_cjs')
-rw-r--r--tests/specs/npm/deno_run_bin_cjs/__test__.jsonc8
-rw-r--r--tests/specs/npm/deno_run_bin_cjs/deno_run_cjs.out4
2 files changed, 12 insertions, 0 deletions
diff --git a/tests/specs/npm/deno_run_bin_cjs/__test__.jsonc b/tests/specs/npm/deno_run_bin_cjs/__test__.jsonc
new file mode 100644
index 000000000..9eb8e9bfe
--- /dev/null
+++ b/tests/specs/npm/deno_run_bin_cjs/__test__.jsonc
@@ -0,0 +1,8 @@
+{
+ "args": "run -A --quiet npm:@denotest/bin/cli-cjs this is a test",
+ "output": "deno_run_cjs.out",
+ "envs": {
+ "NO_COLOR": "1",
+ "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
+ }
+}
diff --git a/tests/specs/npm/deno_run_bin_cjs/deno_run_cjs.out b/tests/specs/npm/deno_run_bin_cjs/deno_run_cjs.out
new file mode 100644
index 000000000..ffe7cbd89
--- /dev/null
+++ b/tests/specs/npm/deno_run_bin_cjs/deno_run_cjs.out
@@ -0,0 +1,4 @@
+this
+is
+a
+test