import { arrSum } from './arrSum'; describe('unit: arrSum', () => { it('returns the sum of elements of an array', () => { expect(arrSum([1, 2, 3])).toEqual(6); }); });