diff --git a/superset-frontend/src/explore/components/SaveModal.test.jsx b/superset-frontend/src/explore/components/SaveModal.test.jsx index caeba1097ab3c..29bb278269e19 100644 --- a/superset-frontend/src/explore/components/SaveModal.test.jsx +++ b/superset-frontend/src/explore/components/SaveModal.test.jsx @@ -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 },