diff options
author | Kayla Washburn <mckayla@hey.com> | 2022-06-08 15:30:16 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-08 15:30:16 -0600 |
commit | 94068b7109af64eba2cb9fd299e62705a5358069 (patch) | |
tree | 7ba43427fb32d43009437898bbd336932c02e754 /cli/tests/integration/task_tests.rs | |
parent | a0a13b3a1b5b654ad36a25c4785cab539555840a (diff) |
feat(task): add `--cwd` flag for configuring the working directory (#14823)
Diffstat (limited to 'cli/tests/integration/task_tests.rs')
-rw-r--r-- | cli/tests/integration/task_tests.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cli/tests/integration/task_tests.rs b/cli/tests/integration/task_tests.rs index e2adc85d9..837d9d2b7 100644 --- a/cli/tests/integration/task_tests.rs +++ b/cli/tests/integration/task_tests.rs @@ -12,6 +12,13 @@ itest!(task_no_args { exit_code: 1, }); +itest!(task_cwd { + args: "task -q --config task/deno.json --cwd .. echo_cwd", + output: "task/task_cwd.out", + envs: vec![("NO_COLOR".to_string(), "1".to_string())], + exit_code: 0, +}); + itest!(task_non_existent { args: "task --config task/deno.json non_existent", output: "task/task_non_existent.out", |