Skip to content
This repository has been archived by the owner on Jan 2, 2025. It is now read-only.

Commit

Permalink
fixes per christopherallanperry
Browse files Browse the repository at this point in the history
  • Loading branch information
Kash committed Feb 17, 2018
1 parent 4e9890e commit 6a49691
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/functions.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,16 +108,16 @@ test('Add all numbers', () => {

const output = functions.addAllnumbers( numbers );

expect( output ).toEqual( 53 );
expect( output ).toEqual( expected );
});

test('Average', () => {
const numbers = [ 4, '-', 8, 11, 'hello', '57', 0, 2 ];
const expected = 53;
const expected = 5;

const output = functions.average( numbers );

expect( output ).toEqual( 5 );
expect( output ).toEqual( expected );
});

test('Paint shop', () => {
Expand Down

0 comments on commit 6a49691

Please sign in to comment.