This commit is contained in:
2024-11-04 21:59:20 +08:00
parent c8a5430594
commit f383d89b70
11 changed files with 135 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
import { expect, test } from 'vitest';
import { squared } from '../src/index';
test('squared', () => {
expect(squared(2)).toBe(4);
expect(squared(12)).toBe(144);
});