diff options
Diffstat (limited to 'cli/tests')
-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 | } |