diff options
Diffstat (limited to 'tests/specs')
4 files changed, 32 insertions, 0 deletions
diff --git a/tests/specs/task/npx_installed_pkg_non_byonm/__test__.jsonc b/tests/specs/task/npx_installed_pkg_non_byonm/__test__.jsonc new file mode 100644 index 000000000..ae9e640e6 --- /dev/null +++ b/tests/specs/task/npx_installed_pkg_non_byonm/__test__.jsonc @@ -0,0 +1,11 @@ +{ + "tempDir": true, + "steps": [{ + "commandName": "npm", + "args": "install", + "output": "[WILDCARD]" + }, { + "args": "task say", + "output": "main.out" + }] +} diff --git a/tests/specs/task/npx_installed_pkg_non_byonm/deno.jsonc b/tests/specs/task/npx_installed_pkg_non_byonm/deno.jsonc new file mode 100644 index 000000000..00303820b --- /dev/null +++ b/tests/specs/task/npx_installed_pkg_non_byonm/deno.jsonc @@ -0,0 +1,7 @@ +{ + // not byonm + "nodeModulesDir": true, + "tasks": { + "say": "npx cowsay moo" + } +} diff --git a/tests/specs/task/npx_installed_pkg_non_byonm/main.out b/tests/specs/task/npx_installed_pkg_non_byonm/main.out new file mode 100644 index 000000000..db58009ce --- /dev/null +++ b/tests/specs/task/npx_installed_pkg_non_byonm/main.out @@ -0,0 +1,9 @@ +Task say npx cowsay moo + _____ +< moo > + ----- + \ ^__^ + \ (oo)\_______ + (__)\ )\/\ + ||----w | + || || diff --git a/tests/specs/task/npx_installed_pkg_non_byonm/package.json b/tests/specs/task/npx_installed_pkg_non_byonm/package.json new file mode 100644 index 000000000..7a519e140 --- /dev/null +++ b/tests/specs/task/npx_installed_pkg_non_byonm/package.json @@ -0,0 +1,5 @@ +{ + "dependencies": { + "cowsay": "*" + } +} |