store.$patch reactivity not working when use jest.resetModules() #2371
Unanswered
santhoshkumaralli
asked this question in
Help and Questions
Replies: 1 comment
-
@posva any help here? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Observation
store state reactivity is not working when using the jest.resetModules()
Steps to reproduce the bug
Example code:
Language.vue
language.spec.ts
Expected behavior
The component should get the latest value of the state (for example: 'language' in above case)
Actual behavior
The component variable not updating with the latest value
Additional information
Jest Version: 29.5.0
Node: 16.20.1
Beta Was this translation helpful? Give feedback.
All reactions