From 94068b7109af64eba2cb9fd299e62705a5358069 Mon Sep 17 00:00:00 2001 From: Kayla Washburn Date: Wed, 8 Jun 2022 15:30:16 -0600 Subject: feat(task): add `--cwd` flag for configuring the working directory (#14823) --- cli/tests/integration/task_tests.rs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'cli/tests/integration') 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", -- cgit v1.2.3