diff options
Diffstat (limited to 'tests/testdata/coverage/branch_expected.out')
-rw-r--r-- | tests/testdata/coverage/branch_expected.out | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/testdata/coverage/branch_expected.out b/tests/testdata/coverage/branch_expected.out new file mode 100644 index 000000000..630ea93b2 --- /dev/null +++ b/tests/testdata/coverage/branch_expected.out @@ -0,0 +1,12 @@ +cover [WILDCARD]/coverage/branch.ts ... 28.571% (4/14) + 4 | } else { + 5 | return false; + 6 | } +-----|----- + 9 | export function unused(condition: boolean): boolean { + 10 | if (condition) { + 11 | return false; + 12 | } else { + 13 | return true; + 14 | } + 15 | } |