8000 Update the tests for the solutions · Arzivak/javascript-exercises@b92866a · GitHub
[go: up one dir, main page]

Skip to content

Commit b92866a

Browse files
committed
Update the tests for the solutions
1 parent b025e48 commit b92866a

File tree

Expand file tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

05_sumAll/solution/sumAll-solution.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const sumAll = require('./sumAll-solution');
22

33
describe('sumAll', () => {
44
test('sums numbers within the range', () => {
5-
expect(sumAll(1, 4)).toEqual(10);
5+
expect(sumAll(2, 4)).toEqual(9);
66
});
77
test('works with large numbers', () => {
88
expect(sumAll(1, 4000)).toEqual(8002000);

0 commit comments

Comments
 (0)
0