10 lines
224 B
TypeScript
10 lines
224 B
TypeScript
import { expect, test } from 'vitest'
|
|
|
|
// Edit an assertion and save to see HMR in action
|
|
|
|
test('Math.sqrt()', () => {
|
|
expect(Math.sqrt(4)).toBe(2)
|
|
expect(Math.sqrt(144)).toBe(12)
|
|
expect(Math.sqrt(2)).toBe(Math.SQRT2)
|
|
})
|