Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vashjs committed Dec 18, 2024
1 parent b16b785 commit de32f40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/useCommitChanges.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ describe('useCommitChanges', () => {
resetQueries: mockResetQueries,
});

buildSearch.mockImplementation((criteria, search) => `?progress=${criteria}&${search}`);
buildSearch.mockImplementation(({ progress }, search) => `?progress=${progress}&${search}`);

useSearchParams.mockReturnValue({
criteria: 'testCriteria',
Expand Down

0 comments on commit de32f40

Please sign in to comment.