summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/coverage/multisource/bar.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/testdata/coverage/multisource/bar.ts')
-rw-r--r--cli/tests/testdata/coverage/multisource/bar.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/cli/tests/testdata/coverage/multisource/bar.ts b/cli/tests/testdata/coverage/multisource/bar.ts
new file mode 100644
index 000000000..1bb10a0a6
--- /dev/null
+++ b/cli/tests/testdata/coverage/multisource/bar.ts
@@ -0,0 +1,7 @@
+export function bar(cond: boolean) {
+ if (cond) {
+ return 1;
+ } else {
+ return 2;
+ }
+}