Hey,
I am using the standard usage of dispatch and getState from returning action Data that considers the store state as a part of the computation and of course I get this error!
So is there a workaround for the mockStore setup where getState() will fetch the actual state in the store currently that was passed through mockStore
Hey, I am using the standard usage of
dispatch
andgetState
from returning action Data that considers the store state as a part of the computation and of course I get this error! So is there a workaround for the mockStore setup where getState() will fetch the actual state in the store currently that was passed through mockStoreaction.js
action.test.js
Thanks