mirror of
https://github.com/vitest-dev/vitest.git
synced 2025-12-08 18:26:03 +00:00
8 lines
181 B
JavaScript
8 lines
181 B
JavaScript
import { expect, it } from 'vitest'
|
|
import { multiply } from '../src/math'
|
|
|
|
it('2 x 2 = 4', () => {
|
|
expect(multiply(2, 2)).toBe(4)
|
|
expect(multiply(2, 2)).toBe(Math.sqrt(16))
|
|
})
|