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