From 9965fc8cc35afc0ff4b338b0d893742b84fe102d Mon Sep 17 00:00:00 2001 From: Casper Beyer Date: Sat, 30 Jan 2021 03:45:22 +0800 Subject: fix(cli/coverage): display mapped instrumentation line counts (#9310) --- cli/tests/test_run_combined_coverage.out | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'cli/tests/test_run_combined_coverage.out') diff --git a/cli/tests/test_run_combined_coverage.out b/cli/tests/test_run_combined_coverage.out index 24ceb9955..9a638214e 100644 --- a/cli/tests/test_run_combined_coverage.out +++ b/cli/tests/test_run_combined_coverage.out @@ -12,8 +12,8 @@ ok ([WILDCARD]) test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out ([WILDCARD]) -cover [WILDCARD]/tests/run_coverage.ts ... 100.000% (3/3) -cover [WILDCARD]/tests/subdir/mod1.ts ... 57.143% (8/14) +cover [WILDCARD]/tests/run_coverage.ts ... 100.000% (2/2) +cover [WILDCARD]/tests/subdir/mod1.ts ... 53.846% (7/13) 11 | export function printHello3(): void { 12 | printHello2(); 13 | } @@ -21,12 +21,12 @@ cover [WILDCARD]/tests/subdir/mod1.ts ... 57.143% (8/14) 15 | export function throwsError(): void { 16 | throw Error("exception from mod1"); 17 | } -cover [WILDCARD]/tests/subdir/print_hello.ts ... 25.000% (1/4) +cover [WILDCARD]/tests/subdir/print_hello.ts ... 0.000% (0/3) 1 | export function printHello(): void { 2 | console.log("Hello"); 3 | } -cover [WILDCARD]/tests/subdir/subdir2/mod2.ts ... 62.500% (5/8) +cover [WILDCARD]/tests/subdir/subdir2/mod2.ts ... 57.143% (4/7) 7 | export function printHello2(): void { 8 | printHello(); 9 | } -cover [WILDCARD]/tests/test_coverage.ts ... 100.000% (5/5) +cover [WILDCARD]/tests/test_coverage.ts ... 100.000% (4/4) -- cgit v1.2.3