vitest/test/watch/fixtures/math.test.ts
2023-02-28 14:56:55 +01:00

8 lines
120 B
TypeScript

import { expect, test } from 'vitest'
import { sum } from './math'
test('sum', () => {
expect(sum(1, 2)).toBe(3)
})