mirror of
https://github.com/denoland/deno.git
synced 2025-09-26 12:19:12 +00:00
feat(cli): add --coverage
flag to deno run
command (#29329)
closes #16440 This PR adds `--coverage` flag to `deno run` command. When the flag is specified, it generates the coverage profile in the directory specified (default is `coverage`). The coverage directory can also be specified from the env var `DENO_COVERAGE_DIR`. --------- Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
This commit is contained in:
parent
bff09506bd
commit
56d7660ee4
9 changed files with 142 additions and 0 deletions
|
@ -37,6 +37,7 @@ pub async fn deploy(
|
|||
),
|
||||
watch: None,
|
||||
bare: false,
|
||||
coverage_dir: None,
|
||||
});
|
||||
|
||||
tools::run::run_script(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue