fes.js/packages/fes-template-vite/__tests__/add.js
2022-05-06 17:15:26 +08:00

6 lines
105 B
JavaScript

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