diff options
Diffstat (limited to 'cli/tests/coverage/expected_branch.out')
-rw-r--r-- | cli/tests/coverage/expected_branch.out | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/cli/tests/coverage/expected_branch.out b/cli/tests/coverage/expected_branch.out new file mode 100644 index 000000000..630ea93b2 --- /dev/null +++ b/cli/tests/coverage/expected_branch.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 | } |