1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-23 15:16:54 -05:00
denoland-deno/tests/specs/task/bin_package/__test__.jsonc

44 lines
1 KiB
Text
Raw Normal View History

{
"tests": {
"sets_up_bin_dir": {
"tempDir": true,
"steps": [
// {"commandName": "npm", "args": "install", "output": "\nadded 1 package in [WILDCARD]\n"},
{
"args": "task sayhi",
"output": "task.out"
},
{
"if": "unix",
"commandName": "./node_modules/.bin/cli-esm",
"args": "hi hello",
"output": "hi\nhello\n"
},
{
"if": "windows",
"commandName": "./node_modules/.bin/cli-esm.cmd",
"args": "hi hello",
"output": "hi\nhello\n"
},
{
"commandName": "npm",
"args": "run sayhi",
"output": "npm-run.out"
}
]
},
"clobbers_if_already_setup": {
"tempDir": true,
"steps": [{
"commandName": "npm",
"args": "install",
"output": "\nadded 1 package in [WILDCARD]\n"
}, {
"if": "unix",
"args": "task sayhi",
"output": "task.out"
}]
}
}
}