mirror of
https://github.com/denoland/deno.git
synced 2025-02-22 05:12:55 -05:00

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
JSON
52 lines
1.1 KiB
JSON
{
|
|
"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
|
|
}]
|
|
}
|
|
}
|
|
}
|