template-web-astro/tests/basic.test.ts
Florian Bouillon 3e91597dca feat: multiple changes
Signed-off-by: Avior <git@avior.me>
2024-09-09 14:27:46 +02:00

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)
})