Skip to content

Mock return value of Store function/action #1292

Discussion options

You must be logged in to vote

You need to return the action and call mockImplementation on the function itself: store.mockMe.mock implementation()

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@PatrikBird
Comment options

@posva
Comment options

@marina-mosti
Comment options

@posva
Comment options

Answer selected by posva
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
5 participants