Skip to content

Problem to mock zustand #2343

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

You must be logged in to vote

@pedrohamarques the setup is a bit tricky talking about react native and other stuff but seems the issue is coming from AsyncStorage itself but here's the fix -> https://stackblitz.com/edit/vitejs-vite-fqgbku?file=src%2Fstores%2Fcart-store.ts

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@pedrohamarques
Comment options

@dbritto-dev
Comment options

Answer selected by pedrohamarques
@pedrohamarques
Comment options

@dbritto-dev
Comment options

@miguelbermudez
Comment options

@pedrohamarques
Comment options

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