summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/coverage/multisource/foo.ts
diff options
context:
space:
mode:
authorYoshiya Hinosawa <stibium121@gmail.com>2023-12-08 16:54:52 +0900
committerGitHub <noreply@github.com>2023-12-08 16:54:52 +0900
commitd68d1e202285df30893968c8ba71b4a0a769b357 (patch)
tree40cb0c267c49e9b7e147c92e2f16a304cb2c413c /cli/tests/testdata/coverage/multisource/foo.ts
parentc5c5dea90debcc5ec53b4803ca530558df32e43f (diff)
feat(coverage): add html reporter (#21495)
Co-authored-by: Bartek IwaƄczuk <biwanczuk@gmail.com>
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;
+ }
+}