From 5ddf8732f089c93667a667155cd923250d723758 Mon Sep 17 00:00:00 2001 From: Yoshiya Hinosawa Date: Tue, 12 Dec 2023 12:42:57 +0900 Subject: feat(coverage): add summary reporter (#21535) --- cli/tests/testdata/coverage/multisource/foo.ts | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'cli/tests/testdata/coverage/multisource/foo.ts') 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; -- cgit v1.2.3