Skip to content

Commit dc64499

Browse files
committed
Fix self-test calling wrong Array method
1 parent e8b48cc commit dc64499

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/map_strict.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ describe('asyncMapStrict()', () => {
7272
const [arr, pushDuplicate] = makePushDuplicate();
7373
const mapper = jest.fn().mockImplementation(pushDuplicate);
7474

75-
inputArr.forEach(mapper);
75+
inputArr.map(mapper);
7676

7777
expect(mapper).toHaveBeenCalledTimes(inputArr.length);
7878
expect(arr).toEqual(doubleInputArr);

0 commit comments

Comments
 (0)