From 9b3338fa2f61060ed92abe850fbd31170006217e Mon Sep 17 00:00:00 2001 From: Casper Beyer Date: Thu, 7 Jan 2021 19:45:42 +0800 Subject: fix(coverage): report partial lines as uncovered (#9033) --- cli/tests/subdir/branch.ts | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 cli/tests/subdir/branch.ts (limited to 'cli/tests/subdir') 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; + } +} -- cgit v1.2.3