mirror of
https://github.com/denoland/deno.git
synced 2025-09-26 12:19:12 +00:00
feat(test): support DENO_COVERAGE_DIR env var (#28291)
This PR adds support of `DENO_COVERAGE_DIR` for controlling coverage output.
This commit is contained in:
parent
a5b407c390
commit
202f5f3910
6 changed files with 43 additions and 1 deletions
|
@ -838,7 +838,7 @@ impl CliOptions {
|
|||
.coverage_dir
|
||||
.as_ref()
|
||||
.map(ToOwned::to_owned)
|
||||
.or_else(|| env::var("DENO_UNSTABLE_COVERAGE_DIR").ok()),
|
||||
.or_else(|| env::var("DENO_COVERAGE_DIR").ok()),
|
||||
_ => None,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue