This website requires JavaScript.
Explore
Help
Sign in
foster
/
denoland-deno
Watch
1
Star
0
Fork
You've already forked denoland-deno
0
mirror of
https://github.com/denoland/deno.git
synced
2024-11-15 16:43:44 -05:00
Code
Issues
Wiki
Activity
b033a7a6d4
denoland-deno
/
cli
/
tests
/
testdata
/
coverage
/
branch_test.ts
6 lines
93 B
TypeScript
Raw
Normal View
History
Unescape
Escape
feat: add "deno coverage" subcommand (#8664) This commit adds a new subcommand called "coverage" which can generate code coverage reports to stdout in multiple formats from code coverage profiles collected to disk. Currently this supports outputting a pretty printed diff and the lcov format for interoperability with third-party services and tools. Code coverage is still collected via other subcommands that run and collect code coverage such as "deno test --coverage=<directory>" but that command no longer prints a pretty printed report at the end of a test run with coverage collection enabled. The restrictions on which files that can be reported on has also been relaxed and are fully controllable with the include and exclude regular expression flags on the coverage subcommand. Co-authored-by: Luca Casonato <lucacasonato@yahoo.com>
2021-02-24 09:27:51 -05:00
import
{
branch
}
from
"./branch.ts"
;
fix(coverage): report partial lines as uncovered (#9033)
2021-01-07 06:45:42 -05:00
Deno
.
test
(
"branch"
,
function
(
)
{
branch
(
true
)
;
}
)
;
Copy permalink