mirror of
https://github.com/hanzoai/vitest.git
synced 2026-09-24 17:04:25 +00:00
8 lines
149 B
TypeScript
8 lines
149 B
TypeScript
import { expect, test } from 'vitest'
|
|
|
|
import { add } from './math'
|
|
|
|
test('should add two numbers correctly', () => {
|
|
expect(add(1, 2)).toBe(3)
|
|
})
|