You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi everyone.
I want to mock the zustand store so that it is not shared between stores.
But I couldn't find a good way to do this.
If you have a good way to do this, could you please share it?
It seems that spyOn and mocked provided in @storybook/test return the passed function as is.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Summary
Hi everyone.
I want to mock the zustand store so that it is not shared between stores.
But I couldn't find a good way to do this.
If you have a good way to do this, could you please share it?
It seems that spyOn and mocked provided in @storybook/test return the passed function as is.
Additional information
Create a reproduction
No response
Beta Was this translation helpful? Give feedback.
All reactions