mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 07:14:47 -05:00
795ed23b35
Two small changes: - In our BYONM errors, suggest running `deno install` instead of `npm install` if `DENO_FUTURE` is set - Only emit warning about `deno install` changes if you do `deno install <foo>` with deno_future unset
52 lines
1.1 KiB
Text
52 lines
1.1 KiB
Text
{
|
|
"tempDir": true,
|
|
"tests": {
|
|
"future_not_installed": {
|
|
"envs": {
|
|
"DENO_FUTURE": "1"
|
|
},
|
|
"steps": [{
|
|
"args": "run -A not_installed.ts",
|
|
"output": "future_not_installed.out",
|
|
"exitCode": 1
|
|
}]
|
|
},
|
|
"future_invalid_sub_path": {
|
|
"envs": {
|
|
"DENO_FUTURE": "1"
|
|
},
|
|
"steps": [{
|
|
"args": "install",
|
|
"output": "[WILDCARD]"
|
|
}, {
|
|
"args": "run -A invalid_sub_path.ts",
|
|
"output": "invalid_sub_path.out",
|
|
"exitCode": 1
|
|
}]
|
|
},
|
|
"not_installed": {
|
|
"envs": {
|
|
"DENO_UNSTABLE_BYONM": "1"
|
|
},
|
|
"steps": [{
|
|
"args": "run -A not_installed.ts",
|
|
"output": "not_installed.out",
|
|
"exitCode": 1
|
|
}]
|
|
},
|
|
"invalid_sub_path": {
|
|
"envs": {
|
|
"DENO_UNSTABLE_BYONM": "1"
|
|
},
|
|
"steps": [{
|
|
"args": "install",
|
|
"commandName": "npm",
|
|
"output": "[WILDCARD]"
|
|
}, {
|
|
"args": "run -A invalid_sub_path.ts",
|
|
"output": "invalid_sub_path.out",
|
|
"exitCode": 1
|
|
}]
|
|
}
|
|
}
|
|
}
|