summaryrefslogtreecommitdiff
path: root/tests/specs/npm/deno_run_cowsay_with_node_modules_dir
diff options
context:
space:
mode:
Diffstat (limited to 'tests/specs/npm/deno_run_cowsay_with_node_modules_dir')
-rw-r--r--tests/specs/npm/deno_run_cowsay_with_node_modules_dir/__test__.jsonc9
-rw-r--r--tests/specs/npm/deno_run_cowsay_with_node_modules_dir/deno_run_cowsay.out8
2 files changed, 17 insertions, 0 deletions
diff --git a/tests/specs/npm/deno_run_cowsay_with_node_modules_dir/__test__.jsonc b/tests/specs/npm/deno_run_cowsay_with_node_modules_dir/__test__.jsonc
new file mode 100644
index 000000000..d2c95f072
--- /dev/null
+++ b/tests/specs/npm/deno_run_cowsay_with_node_modules_dir/__test__.jsonc
@@ -0,0 +1,9 @@
+{
+ "tempDir": true,
+ "args": "run -A --quiet --node-modules-dir npm:cowsay@1.5.0 Hello",
+ "output": "deno_run_cowsay.out",
+ "envs": {
+ "NO_COLOR": "1",
+ "NPM_CONFIG_REGISTRY": "http://localhost:4260/"
+ }
+}
diff --git a/tests/specs/npm/deno_run_cowsay_with_node_modules_dir/deno_run_cowsay.out b/tests/specs/npm/deno_run_cowsay_with_node_modules_dir/deno_run_cowsay.out
new file mode 100644
index 000000000..46de82730
--- /dev/null
+++ b/tests/specs/npm/deno_run_cowsay_with_node_modules_dir/deno_run_cowsay.out
@@ -0,0 +1,8 @@
+ _______
+< Hello >
+ -------
+ \ ^__^
+ \ (oo)\_______
+ (__)\ )\/\
+ ||----w |
+ || ||