Merge pull request #359 from fruddenfeldt/patch-1
Removed array syntax in multiply test
This commit is contained in:
commit
6b302e3783
|
@ -40,11 +40,11 @@ describe('sum', () => {
|
||||||
|
|
||||||
describe('multiply', () => {
|
describe('multiply', () => {
|
||||||
test.skip('multiplies two numbers', () => {
|
test.skip('multiplies two numbers', () => {
|
||||||
expect(calculator.multiply([2,4])).toBe(8);
|
expect(calculator.multiply(2,4)).toBe(8);
|
||||||
});
|
});
|
||||||
|
|
||||||
test.skip('multiplies several numbers', () => {
|
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);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue