Passed works with large numbers

This commit is contained in:
Mohammed Nabeel 2020-07-17 10:50:41 +03:00
parent 0871cf5514
commit c0c9e10873
1 changed files with 19 additions and 19 deletions

View File

@ -4,7 +4,7 @@ describe('sumAll', function() {
it('sums numbers within the range', function() { it('sums numbers within the range', function() {
expect(sumAll(1, 4)).toEqual(10); expect(sumAll(1, 4)).toEqual(10);
}); });
xit('works with large numbers', function() { it('works with large numbers', function() {
expect(sumAll(1, 4000)).toEqual(8002000); expect(sumAll(1, 4000)).toEqual(8002000);
}); });
xit('works with larger number first', function() { xit('works with larger number first', function() {