Skip to content

ref from store loses reactivity in unit tests with vitest #2559

Closed Answered by BeatsuDev
BeatsuDev asked this question in Help and Questions
Discussion options

You must be logged in to vote

This wasn't a problem with how I used pinia after all. I just forgot to await wrapper.vm.$nextTick();...

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by BeatsuDev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant