Skip to content

Commit 32d39b1

Browse files
committed
test: log during collection
1 parent 95ab52d commit 32d39b1

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

test/cli/fixtures/list/math.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
import { expect, it } from 'vitest'
22

3+
console.log('logging during collection')
4+
35
it('1 plus 1', () => {
46
expect(1 + 1).toBe(2)
57
})

test/cli/test/list.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ test('correctly prints project name and locations in json report', async () => {
177177
"file": "<root>/fixtures/list/math.test.ts",
178178
"projectName": "custom",
179179
"location": {
180-
"line": 3,
180+
"line": 5,
181181
"column": 1
182182
}
183183
},
@@ -186,7 +186,7 @@ test('correctly prints project name and locations in json report', async () => {
186186
"file": "<root>/fixtures/list/math.test.ts",
187187
"projectName": "custom",
188188
"location": {
189-
"line": 7,
189+
"line": 9,
190190
"column": 1
191191
}
192192
}

0 commit comments

Comments
 (0)