Testing Zustand + Immer with Vitest #2914
Unanswered
GokulSNarayan
asked this question in
Q&A
Replies: 1 comment 1 reply
-
@GokulSNarayan would you mind creating a minimal repro on stackblitz? I'd be happy to help |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using Zustand + Immer in my project and my test environment is Vitest. What is the proper way to test my Zustand store. I have followed all the steps mentioned in the docs but I still get this create(...) is not a function error whenever I use the store in my test. Please help as I'm stuck in this state for a long time and didn't find a solution till now.
Beta Was this translation helpful? Give feedback.
All reactions