8000 Improve testing to ensure solution matches expected behaviour · rokuruby/javascript-exercises@b025e48 · GitHub
[go: up one dir, main page]

Skip to content

Commit b025e48

Browse files
committed
Improve testing to ensure solution matches expected behaviour
1 parent 59b5fc7 commit b025e48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

05_sumAll/sumAll.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const sumAll = require('./sumAll')
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.skip('works with large numbers', () => {
88
expect(sumAll(1, 4000)).toEqual(8002000);

0 commit comments

Comments
 (0)
0