Replies: 1 comment
-
Hey @aldibatyr - I know this is a bit of an old thread, but I'd love to know:
Thank you! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everyone! I am currently trying to implement a test on a store that has an action that calls another action.
Basically the action I am trying to test looks like this:
Is there a way to skip the action that is not relevant to the test that I want to do?
I have tried store.actionThatIWantToMock = jest.fn();
also tried
Object.defineProperty
way of setting jest.fn() instead of an actual action :DMight be doing something wrong, but hit the fence with this one.
Any help/pointers are appreciated!
Thanks a lot!
Beta Was this translation helpful? Give feedback.
All reactions