diff --git a/08_calculator/calculator.spec.js b/08_calculator/calculator.spec.js index dc317ec..3507452 100644 --- a/08_calculator/calculator.spec.js +++ b/08_calculator/calculator.spec.js @@ -40,11 +40,11 @@ describe('sum', () => { describe('multiply', () => { test.skip('multiplies two numbers', () => { - expect(calculator.multiply([2,4])).toBe(8); + expect(calculator.multiply(2,4)).toBe(8); }); test.skip('multiplies several numbers', () => { - expect(calculator.multiply([2,4,6,8,10,12,14])).toBe(645120); + expect(calculator.multiply(2,4,6,8,10,12,14)).toBe(645120); }); });