Skip to content

Commit

Permalink
remove setSate
Browse files Browse the repository at this point in the history
  • Loading branch information
hughhhh committed Oct 13, 2023
1 parent 526329a commit 6152399
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,6 @@ test('make sure slice_id in the URLSearchParams before the redirect', () => {
};

const saveModal = new PureSaveModal(myProps);
saveModal.setState = jest.fn();
const result = saveModal.handleRedirect(
'https://example.com/?name=John&age=30',
{ id: 1 },
Expand Down

0 comments on commit 6152399

Please sign in to comment.