Skip to content

Commit c4e75ec

Browse files
committed
test: update snapshots
1 parent 9c4d662 commit c4e75ec

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

test/coverage-test/test/results-snapshot.test.ts

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ test('coverage results matches snapshot', async () => {
55
await runVitest({
66
include: ['fixtures/test/math.test.ts', 'fixtures/test/even.test.ts'],
77
coverage: {
8-
reporter: 'json',
8+
reporter: ['json', 'html'],
99
include: [
1010
'fixtures/src/math.ts',
1111
'fixtures/src/even.ts',
@@ -32,10 +32,10 @@ test('coverage results matches snapshot', async () => {
3232
"statements": "1/4 (25%)",
3333
},
3434
"<process-cwd>/fixtures/src/untested-file.ts": {
35-
"branches": "0/4 (0%)",
35+
"branches": "0/2 (0%)",
3636
"functions": "0/4 (0%)",
37-
"lines": "0/8 (0%)",
38-
"statements": "0/8 (0%)",
37+
"lines": "0/6 (0%)",
38+
"statements": "0/6 (0%)",
3939
},
4040
}
4141
`)
@@ -62,8 +62,6 @@ test('coverage results matches snapshot', async () => {
6262
"21": 0,
6363
"33": 0,
6464
"35": 0,
65-
"39": 0,
66-
"41": 0,
6765
"46": 0,
6866
"9": 0,
6967
},

0 commit comments

Comments
 (0)