mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 07:14:47 -05:00
27 lines
651 B
Text
27 lines
651 B
Text
|
{
|
||
|
"tempDir": true,
|
||
|
"tests": {
|
||
|
"deno_env_wildcard_tests": {
|
||
|
"envs": {
|
||
|
"MYAPP_HELLO": "Hello\tworld,",
|
||
|
"MYAPP_GOODBYE": "farewell",
|
||
|
"OTHER_VAR": "ignore"
|
||
|
},
|
||
|
"steps": [
|
||
|
{
|
||
|
"args": "run --allow-env=MYAPP_* main.js",
|
||
|
"output": "Hello\tworld,\nfarewell\ndone\n"
|
||
|
},
|
||
|
{
|
||
|
"args": "run --allow-env main.js",
|
||
|
"output": "Hello\tworld,\nfarewell\ndone\n"
|
||
|
},
|
||
|
{
|
||
|
"args": "run --allow-env=MYAPP_HELLO,MYAPP_GOODBYE,MYAPP_TEST,MYAPP_DONE main.js",
|
||
|
"output": "Hello\tworld,\nfarewell\ndone\n"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|
||
|
}
|