8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b025e48 commit b92866aCopy full SHA for b92866a
05_sumAll/solution/sumAll-solution.spec.js
@@ -2,7 +2,7 @@ const sumAll = require('./sumAll-solution');
2
3
describe('sumAll', () => {
4
test('sums numbers within the range', () => {
5
- expect(sumAll(1, 4)).toEqual(10);
+ expect(sumAll(2, 4)).toEqual(9);
6
});
7
test('works with large numbers', () => {
8
expect(sumAll(1, 4000)).toEqual(8002000);
0 commit comments