Replies: 2 comments
-
I'm not sure why you're seeing this error, but we would strongly advise against ever trying to mock Please see our "Testing" docs page for our recommended approaches: |
Beta Was this translation helpful? Give feedback.
-
Hi all. It works for typed version of
That means that you are using throughout your app instead of plain and here is how the
|
Beta Was this translation helpful? Give feedback.
-
Currently experiencing trouble mocking useDispatch in my test files after upgrading to react-redux v8. The following works in v7:
Any advice appreciated!
Beta Was this translation helpful? Give feedback.
All reactions