mirror of
https://github.com/vitest-dev/vitest.git
synced 2025-12-08 18:26:03 +00:00
12 lines
184 B
TypeScript
12 lines
184 B
TypeScript
import { expect, it } from 'vitest'
|
|
|
|
console.log('logging during collection')
|
|
|
|
it('1 plus 1', () => {
|
|
expect(1 + 1).toBe(2)
|
|
})
|
|
|
|
it('failing test', () => {
|
|
expect(1 + 1).toBe(3)
|
|
})
|