avior.me/tests/basic.test.ts
2023-09-21 14:32:35 +00: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);
});