Skip to content

Commit

Permalink
Remove unused argument from call to jest method (#19546)
Browse files Browse the repository at this point in the history
  • Loading branch information
gusaiani committed Aug 6, 2020
1 parent a5fed98 commit 5bdd4c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react/src/__tests__/ReactChildren-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ describe('ReactChildren', () => {
});

function assertCalls() {
expect(callback).toHaveBeenCalledTimes(2, 0);
expect(callback).toHaveBeenCalledTimes(2);
expect(callback).toHaveBeenCalledWith('a', 0);
expect(callback).toHaveBeenCalledWith(13, 1);
callback.mockClear();
Expand Down

0 comments on commit 5bdd4c8

Please sign in to comment.