1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-01 16:51:13 -05:00
denoland-deno/tests/specs/run/no_deno_json/__test__.jsonc

36 lines
1,007 B
Text

{
"tempDir": true,
"steps": [{
// --no-config
"args": "run -L debug -A --no-config noconfig.ts",
"output": "noconfig.out",
"cwd": "code"
}, {
// --no-npm
"args": "run -L debug -A --no-npm noconfig.ts",
"output": "noconfig.out",
"cwd": "code"
}, {
// not auto-discovered with env var
"args": "run -L debug -A noconfig.ts",
"output": "noconfig.out",
"cwd": "code",
"envs": {
"DENO_NO_PACKAGE_JSON": "1"
}
}, {
// this should not use --quiet because we should ensure no package.json install occurs
"args": "run -A no_package_json_imports.ts",
"output": "no_package_json_imports.out",
"cwd": "code"
}, {
// auto-discovered node_modules relative package.json
"args": "run -A main.js",
"output": "code/sub_dir/main.out",
"cwd": "code/sub_dir"
}, {
// auto-discovered for local script arg
"args": "run -L debug -A code/main.ts", // notice this is not in the sub dir
"output": "main.out"
}]
}