Skip to content

Testing Zustand + Immer with Vitest #2914

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

You must be logged in to vote

@GokulSNarayan you add it __mocks__ folder in the wrong place should be root folder by default if you change that to src then you can put it under src folder

https://stackblitz.com/edit/vitejs-vite-tbzpaoxv?file=src%2F__mocks__%2Fzustand.ts

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@GokulSNarayan
Comment options

@dbritto-dev
Comment options

Answer selected by dbritto-dev
@GokulSNarayan
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
2 participants