Skip to content

Commit 5bdd4c8

Browse files
authored
Remove unused argument from call to jest method (#19546)
1 parent a5fed98 commit 5bdd4c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: packages/react/src/__tests__/ReactChildren-test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ describe('ReactChildren', () => {
460460
});
461461

462462
function assertCalls() {
463-
expect(callback).toHaveBeenCalledTimes(2, 0);
463+
expect(callback).toHaveBeenCalledTimes(2);
464464
expect(callback).toHaveBeenCalledWith('a', 0);
465465
expect(callback).toHaveBeenCalledWith(13, 1);
466466
callback.mockClear();

0 commit comments

Comments
 (0)