Unit testing components vitest + pinia #2237
Unanswered
ooOsH
asked this question in
Help and Questions
Replies: 0 comments
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.
-
TypeError: Cannot read properties of undefined (reading 'getNavState')
inside my component
<a href="/" class="nav-logo" :class="{ open: navStore.getNavState }">
and here is the test I wrote
Any help/explanation on why I can reach the store?
Beta Was this translation helpful? Give feedback.
All reactions