diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2022-07-20 10:36:14 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-20 10:36:14 -0400 |
commit | 73504d76b29eddc1a563e74bb379682e23347b3c (patch) | |
tree | c752f30e6adef9a1e2f3fd7a1c59e817a955ddb7 /cli/tests | |
parent | cee3246edbe80c665d947398ced300c6ec3b8c9b (diff) |
fix(task): resolve deno configuration file first from specified `--cwd` arg (#15257)
Diffstat (limited to 'cli/tests')
-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 837d9d2b7..1c3240f89 100644 --- a/cli/tests/integration/task_tests.rs +++ b/cli/tests/integration/task_tests.rs @@ -19,6 +19,13 @@ itest!(task_cwd { exit_code: 0, }); +itest!(task_cwd_resolves_config_from_specified_dir { + args: "task -q --cwd task", + output: "task/task_no_args.out", + envs: vec![("NO_COLOR".to_string(), "1".to_string())], + exit_code: 1, +}); + itest!(task_non_existent { args: "task --config task/deno.json non_existent", output: "task/task_non_existent.out", |