template-web-astro/tests/basic.test.ts
Florian Bouillon 09ed4c487d
Some checks failed
Build, check & Test / run (push) Failing after 39s
feat: first version
Signed-off-by: Florian BOUILLON <f.bouillon@aptatio.com>
2023-07-20 17:41:16 +02:00

10 lines
228 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);
});