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