Skip to content

Jest Mock useStore with useShallow #2852

Closed Answered by dbritto-dev
smo043 asked this question in Q&A
Discussion options

You must be logged in to vote

@smo043 you shouldn't mock useShallow. BTW, we updated the testing guide to export anything from zustand by default.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@smo043
Comment options

@obryckim
Comment options

@dbritto-dev
Comment options

@smo043
Comment options

@dbritto-dev
Comment options

Answer selected by smo043
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants