diff options
author | Taku Amano <taku@taaas.jp> | 2024-10-31 23:20:26 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-31 23:20:26 +0900 |
commit | 50ea707b58dff85b479905ebbeef866c95bc3cad (patch) | |
tree | a894e383d41e55b1d32771baf9ea70f6a1111b9d /tests/testdata/coverage/complex_expected.out | |
parent | 56f25af2c7b8b158ae21271c129ea0f0bf3c258f (diff) |
fix(coverage): exclude comment lines from coverage reports (#25939)
Diffstat (limited to 'tests/testdata/coverage/complex_expected.out')
-rw-r--r-- | tests/testdata/coverage/complex_expected.out | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/tests/testdata/coverage/complex_expected.out b/tests/testdata/coverage/complex_expected.out index 3d5f6a0ab..f626024b9 100644 --- a/tests/testdata/coverage/complex_expected.out +++ b/tests/testdata/coverage/complex_expected.out @@ -1,20 +1,21 @@ -cover [WILDCARD]/coverage/complex.ts ... 72.549% (37/51) - 46 | export function unused( - 47 | foo: string, - 48 | bar: string, - 49 | baz: string, +cover [WILDCARD]/coverage/complex.ts ... 60.000% (21/35) + 55 | export function unused( + 56 | foo: string, + 57 | bar: string, + 58 | baz: string, -----|----- - 51 | return complex( - 52 | foo, - 53 | bar, - 54 | baz, + 61 | return complex( + 62 | foo, + 63 | bar, + 64 | baz, -----|----- - 56 | } + 66 | } -----|----- - 64 | export function ƒ(): number { - 65 | return ( - 66 | 0 + 74 | export function ƒ(): number { -----|----- - 68 | } + 78 | return ( + 79 | 0 -----|----- - 71 | console.log("%s", () => 1); + 81 | } +-----|----- + 84 | console.log("%s", () => 1); |