1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-18 13:22:55 -05:00
denoland-deno/tests/specs/npm/cjs_with_deps/__test__.jsonc
David Sherret 70d69a8828
chore: fix cjs_with_deps test to use a temp dir (#27199)
It was creating a node_modules directory.
2024-12-03 02:37:40 +01:00

37 lines
806 B
Text

{
"tempDir": true,
"tests": {
"cjs_with_deps": {
"args": "run --allow-read --allow-env main.js",
"output": "main.out"
},
"cjs_with_deps_node_modules": {
"args": "run --allow-read --allow-env --node-modules-dir=auto main.js",
"output": "main_node_modules.out"
},
"cjs_with_deps_info": {
"steps": [
{
"args": "cache main.js",
"output": "[WILDCARD]"
},
{
"args": "info main.js",
"output": "main_info.out"
}
]
},
"cjs_with_deps_info_json": {
"steps": [
{
"args": "cache main.js",
"output": "[WILDCARD]"
},
{
"args": "info --json main.js",
"output": "main_info_json.out"
}
]
}
}
}