mirror of
https://github.com/denoland/deno.git
synced 2024-11-15 16:43:44 -05:00
5cf194380b
This commits makes use of source maps and the original source when printing lacking line coverage in the pretty printer. Only the executable lines are checked as before (as non-executable lines will always be ignored anyways). The lines then mapped to the appropriate source line when a source map is present.
10 lines
287 B
Text
10 lines
287 B
Text
Check [WILDCARD]/tests/$deno$test.ts
|
|
running 1 tests
|
|
test branch ... ok ([WILDCARD])
|
|
|
|
test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out ([WILDCARD])
|
|
|
|
cover [WILDCARD]/tests/subdir/branch.ts ... 66.667% (6/9)
|
|
4 | } else {
|
|
5 | return false;
|
|
6 | }
|