Is this unmockable? #2694
Unanswered
EricaJesse
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to preface this by saying I know I'm an idiot and that I'm sure zustand was not intended to be used the way I'm using it. I am having a hell of a time mocking this file though due to my using subscribeWithSelector. I have mocked similarly setup stores without the subscribeWithSelector just fine, but this one keeps giving me
Error: Uncaught [TypeError: __vite_ssr_import_3__.usePlotStore.subscribe is not a function]
Here's my test file thus far:
and my embarrassingly stupid store
Beta Was this translation helpful? Give feedback.
All reactions