diff options
Diffstat (limited to 'cli/tests/test_run_run_coverage.out')
-rw-r--r-- | cli/tests/test_run_run_coverage.out | 35 |
1 files changed, 19 insertions, 16 deletions
diff --git a/cli/tests/test_run_run_coverage.out b/cli/tests/test_run_run_coverage.out index 2f18020d3..97eb29264 100644 --- a/cli/tests/test_run_run_coverage.out +++ b/cli/tests/test_run_run_coverage.out @@ -7,23 +7,26 @@ test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out ([WIL cover [WILDCARD]/tests/run_coverage.ts ... 100.000% (3/3) cover [WILDCARD]/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"); + 7 | export function returnsFoo2(): string { + 8 | return returnsFoo(); + 9 | } +-----|----- + 11 | export function printHello3(): void { + 12 | printHello2(); 13 | } +-----|----- + 15 | export function throwsError(): void { + 16 | throw Error("exception from mod1"); + 17 | } cover [WILDCARD]/tests/subdir/print_hello.ts ... 25.000% (1/4) - 1 | export function printHello() { - 2 | console.log("Hello"); + 1 | export function printHello(): void { + 2 | console.log("Hello"); 3 | } cover [WILDCARD]/tests/subdir/subdir2/mod2.ts ... 25.000% (2/8) - 2 | export function returnsFoo() { - 3 | return "Foo"; - 4 | } - 5 | export function printHello2() { - 6 | printHello(); - 7 | } + 3 | export function returnsFoo(): string { + 4 | return "Foo"; + 5 | } +-----|----- + 7 | export function printHello2(): void { + 8 | printHello(); + 9 | } |