diff options
author | Nayeem Rahman <nayeemrmn99@gmail.com> | 2022-04-18 20:08:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-18 21:08:30 +0200 |
commit | 66fbdd2ed4b5ecab8a51278cd76bce7adedb4fc2 (patch) | |
tree | 55e38ace63362cb49ac8cf9a5f66594a04770335 /cli/tests/integration/test_tests.rs | |
parent | bf804d3ffff39dab3c7fc8a1a91538ec51276223 (diff) |
feat: Add DENO_NO_PROMPT variable (#14209)
This commit adds support for "DENO_NO_PROMPT" env
variable, that can be used instead of "--no-prompt" flag
to completely disable permission prompts.
Diffstat (limited to 'cli/tests/integration/test_tests.rs')
-rw-r--r-- | cli/tests/integration/test_tests.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/tests/integration/test_tests.rs b/cli/tests/integration/test_tests.rs index bac50f16d..3e2df9113 100644 --- a/cli/tests/integration/test_tests.rs +++ b/cli/tests/integration/test_tests.rs @@ -288,13 +288,13 @@ itest!(steps_output_within { }); itest!(no_prompt_by_default { - args: "test test/no_prompt_by_default.ts", + args: "test --quiet test/no_prompt_by_default.ts", exit_code: 1, output: "test/no_prompt_by_default.out", }); itest!(no_prompt_with_denied_perms { - args: "test --allow-read test/no_prompt_with_denied_perms.ts", + args: "test --quiet --allow-read test/no_prompt_with_denied_perms.ts", exit_code: 1, output: "test/no_prompt_with_denied_perms.out", }); |