-
Hi all, I'm using computed value in my MobX v6.1.5 store like this (I've shortened implementation for simplicity):
And now I want to test some functionality which uses this store via jest. I've configured jest like this https://mobx.js.org/configuration.html#safedescriptors-boolean and now I want to use spy for drawerStore.isHighlightEnabled:
But I get error: isHighlightEnabled property does not exist Can anyone please suggest if this functionality works now and maybe provide some example of working tests with spies for store getters? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Cause you named it |
Beta Was this translation helpful? Give feedback.
jestjs/jest#9675