···11import { assert, expect, test } from 'vitest'
22+import { squared } from '../src/basic.js'
2334// Edit an assertion and save to see HMR in action
45···67 expect(Math.sqrt(4)).toBe(2)
78 expect(Math.sqrt(144)).toBe(12)
89 expect(Math.sqrt(2)).toBe(Math.SQRT2)
1010+})
1111+1212+test('Squared', () => {
1313+ expect(squared(2)).toBe(4)
1414+ expect(squared(12)).toBe(144)
915})
10161117test('JSON', () => {