yousoph commented on code in PR #41101:
URL: https://github.com/apache/superset/pull/41101#discussion_r3531708703


##########
superset-frontend/src/components/ErrorMessage/OAuth2RedirectMessage.test.tsx:
##########
@@ -101,8 +133,8 @@ const defaultProps = {
   source: 'sqllab' as ErrorSource,
 };
 
-const setup = (overrides = {}) => (
-  <Provider store={mockStore}>
+const setup = (overrides = {}, store: any = mockStore) => (

Review Comment:
   Done in `cb3b46f` — `setup`'s `store` param is now typed as `Store` 
(imported from `redux`), which is exactly what `createStore` returns for 
`mockStore`. No more `any`.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to