Merge pull request #359 from fruddenfeldt/patch-1

Removed array syntax in multiply test
This commit is contained in:
Cody Loyd 2023-06-07 08:45:00 -05:00 committed by GitHub
commit 6b302e3783
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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);
});
});