mirror of
https://github.com/hanzoai/vitest.git
synced 2026-09-24 17:04:25 +00:00
10 lines
168 B
TypeScript
10 lines
168 B
TypeScript
import { expect, test } from 'vitest'
|
|
|
|
test('adds two numbers', () => {
|
|
expect(2 + 3).toBe(5)
|
|
})
|
|
|
|
test('fails adding two numbers', () => {
|
|
expect(2 + 3).toBe(6)
|
|
})
|