1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-30 16:40:57 -05:00
denoland-deno/tests/specs/npm/byonm_run_npm/__test__.jsonc

31 lines
772 B
Text
Raw Normal View History

{
"tests": {
"not_in_deps": {
"steps": [{
"args": "run -A --quiet npm:cowsay moo",
"output": "not_in_deps.out"
}, {
// ensure it doesn't make any lockfile modifications and thus doesn't write to the lockfile
"args": [
"eval",
"try { Deno.statSync('deno.lock') } catch (e) { console.log(e instanceof Deno.errors.NotFound); }"
],
"output": "true\n"
}]
},
"in_deps": {
"tempDir": true,
"steps": [{
"args": "install npm:cowsay",
"output": "[WILDCARD]"
}, {
"args": "run --allow-write overwrite.ts",
"output": "[WILDCARD]"
}, {
"args": "run -A npm:cowsay moo",
"output": "replaced\n"
}]
}
}
}