diff options
author | Yoshiya Hinosawa <stibium121@gmail.com> | 2023-12-12 12:42:57 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-12 12:42:57 +0900 |
commit | 5ddf8732f089c93667a667155cd923250d723758 (patch) | |
tree | 4fc307e939c341d88e8013a0d8aed48360816fed /cli/tests/testdata/coverage/multisource/foo.ts | |
parent | a4f45f709278208cb61501df2792412f11aed3c4 (diff) |
feat(coverage): add summary reporter (#21535)
Diffstat (limited to 'cli/tests/testdata/coverage/multisource/foo.ts')
-rw-r--r-- | cli/tests/testdata/coverage/multisource/foo.ts | 7 |
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 index 023f82556..0559cadd8 100644 --- a/cli/tests/testdata/coverage/multisource/foo.ts +++ b/cli/tests/testdata/coverage/multisource/foo.ts @@ -1,5 +1,12 @@ export function foo(cond: boolean) { + let a = 0; if (cond) { + a = 1; + } else { + a = 2; + } + + if (a == 4) { return 1; } else { return 2; |