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.
2 parents 59b5fc7 + b92866a commit d4421b0Copy full SHA for d4421b0
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);
05_sumAll/sumAll.spec.js
@@ -2,7 +2,7 @@ const sumAll = require('./sumAll')
test.skip('works with large numbers', () => {
0 commit comments