mirror of
https://github.com/denoland/deno.git
synced 2024-12-23 15:49:44 -05:00
31 lines
772 B
Text
31 lines
772 B
Text
|
{
|
||
|
"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"
|
||
|
}]
|
||
|
}
|
||
|
}
|
||
|
}
|