diff options
author | Casper Beyer <caspervonb@pm.me> | 2020-09-24 02:12:24 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-23 14:12:24 -0400 |
commit | 6254bd41b72705fc5fba02f9006302dc0c85ea80 (patch) | |
tree | 85afcfae469596ed3e84b06cae2891aec57009c3 /cli/tests/test_coverage.out | |
parent | e1b61d6794facf2d8da4d13273685dc0a5248aed (diff) |
fix(cli/coverage): print lines with no coverage to stdout (#7640)
Diffstat (limited to 'cli/tests/test_coverage.out')
-rw-r--r-- | cli/tests/test_coverage.out | 25 |
1 files changed, 21 insertions, 4 deletions
diff --git a/cli/tests/test_coverage.out b/cli/tests/test_coverage.out index 85e229881..f189a92ee 100644 --- a/cli/tests/test_coverage.out +++ b/cli/tests/test_coverage.out @@ -4,7 +4,24 @@ test returnsHiSuccess ... ok ([WILDCARD]) test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out ([WILDCARD]) -test coverage: -file://[WILDCARD]/cli/tests/subdir/mod1.ts 57.143% -file://[WILDCARD]/cli/tests/subdir/subdir2/mod2.ts 50.000% -file://[WILDCARD]/cli/tests/subdir/print_hello.ts 50.000% +cover [WILDCARD]/cli/tests/subdir/mod1.ts ... 35.714% (5/14) + 5 | export function returnsFoo2() { + 6 | return returnsFoo(); + 7 | } + 8 | export function printHello3() { + 9 | printHello2(); + 10 | } + 11 | export function throwsError() { + 12 | throw Error("exception from mod1"); + 13 | } +cover [WILDCARD]/cli/tests/subdir/subdir2/mod2.ts ... 25.000% (2/8) + 2 | export function returnsFoo() { + 3 | return "Foo"; + 4 | } + 5 | export function printHello2() { + 6 | printHello(); + 7 | } +cover [WILDCARD]/cli/tests/subdir/print_hello.ts ... 25.000% (1/4) + 1 | export function printHello() { + 2 | console.log("Hello"); + 3 | } |