changes to test file

This commit is contained in:
Fredrik Uddenfeldt 2023-05-20 22:42:50 +02:00
parent 51494e8eed
commit e9b1b13cfa
1 changed files with 2 additions and 2 deletions

View File

@ -7,10 +7,10 @@ describe('sumAll', () => {
test('works with large numbers', () => { test('works with large numbers', () => {
expect(sumAll(1, 4000)).toEqual(8002000); expect(sumAll(1, 4000)).toEqual(8002000);
}); });
test('works with larger number first', () => { test.skip('works with larger number first', () => {
expect(sumAll(123, 1)).toEqual(7626); expect(sumAll(123, 1)).toEqual(7626);
}); });
test.skip('returns ERROR with negative numbers', () => { test('returns ERROR with negative numbers', () => {
expect(sumAll(-10, 4)).toEqual('ERROR'); expect(sumAll(-10, 4)).toEqual('ERROR');
}); });
test.skip('returns ERROR with non-number parameters', () => { test.skip('returns ERROR with non-number parameters', () => {