Testing component with createTestingPinia results in TypeError: Cannot read properties of undefined (reading '_s') #1708
Unanswered
awacode21
asked this question in
Help and Questions
Replies: 2 comments 1 reply
-
that |
Beta Was this translation helpful? Give feedback.
0 replies
-
Shouldn't this then also be part of the example for "Unit testing components"? |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
Hi guys, when following exactly these instructions: https://pinia.vuejs.org/cookbook/testing.html#unit-testing-components
i always get the following:
i don't get this when i use setActivePinia instead:
any idea why i get this error when following the instructions for testing a component?
Beta Was this translation helpful? Give feedback.
All reactions