diff options
author | Casper Beyer <caspervonb@pm.me> | 2021-01-07 19:45:42 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-07 12:45:42 +0100 |
commit | 9b3338fa2f61060ed92abe850fbd31170006217e (patch) | |
tree | f7335078456dbf133060008e80a56e0ed4725f8c /cli/tests/subdir/branch.ts | |
parent | f8df9938c51e2047bad975faeba7b14fc5d5a276 (diff) |
fix(coverage): report partial lines as uncovered (#9033)
Diffstat (limited to 'cli/tests/subdir/branch.ts')
-rw-r--r-- | cli/tests/subdir/branch.ts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cli/tests/subdir/branch.ts b/cli/tests/subdir/branch.ts new file mode 100644 index 000000000..bb7aec9eb --- /dev/null +++ b/cli/tests/subdir/branch.ts @@ -0,0 +1,7 @@ +export function branch(condition: boolean): boolean { + if (condition) { + return true; + } else { + return false; + } +} |