summaryrefslogtreecommitdiff
path: root/tests/specs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/specs')
-rw-r--r--tests/specs/task/npm_run/__test__.jsonc4
-rw-r--r--tests/specs/task/npm_run/deno.jsonc3
-rw-r--r--tests/specs/task/npm_run/task_npm_run_args.out5
3 files changed, 11 insertions, 1 deletions
diff --git a/tests/specs/task/npm_run/__test__.jsonc b/tests/specs/task/npm_run/__test__.jsonc
index b6cb249b8..7f3ce2885 100644
--- a/tests/specs/task/npm_run/__test__.jsonc
+++ b/tests/specs/task/npm_run/__test__.jsonc
@@ -12,6 +12,10 @@
"npm_run": {
"args": "task npm_run",
"output": "task_npm_run.out"
+ },
+ "npm_run_args": {
+ "args": "task npm_run_args",
+ "output": "task_npm_run_args.out"
}
}
}
diff --git a/tests/specs/task/npm_run/deno.jsonc b/tests/specs/task/npm_run/deno.jsonc
index bd6dde873..e923b063c 100644
--- a/tests/specs/task/npm_run/deno.jsonc
+++ b/tests/specs/task/npm_run/deno.jsonc
@@ -6,6 +6,7 @@
// currently this will execute using the actual `npm run` because we
// haven't implemented the flags for `npm run` yet
"test_using_npm": "npm run non_existent -- --ignore-scripts",
- "npm_run": "npm run"
+ "npm_run": "npm run",
+ "npm_run_args": "npm run -d echo"
}
}
diff --git a/tests/specs/task/npm_run/task_npm_run_args.out b/tests/specs/task/npm_run/task_npm_run_args.out
new file mode 100644
index 000000000..8040ba4f6
--- /dev/null
+++ b/tests/specs/task/npm_run/task_npm_run_args.out
@@ -0,0 +1,5 @@
+Task npm_run_args npm run -d echo
+npm info using[WILDCARD]
+
+> echo
+[WILDCARD]