We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 31b3b6e commit 37caeb7Copy full SHA for 37caeb7
tests/arrays.test.js
@@ -38,7 +38,7 @@ describe('arrays', () => {
38
it('should reduce the array\'s contents to a single value', () => {
39
const arr = [1, 2, 3, 4, 5];
40
const result = arrayMethods.reduce(arr, (memo, num) => (memo + num));
41
- expect(result).toBe(15);
+ expect(result).toBe(16);
42
});
43
it('should accept a memo argument', () => {
44
0 commit comments