6 lines
108 B
JavaScript

import sum from '@/utils/sum.ts';
test('adds 1 + 2 to equal 3', () => {
expect(sum(1, 2)).toBe(3);
});