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

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)
})