Use @cypress/vue with createTestingPinia #1035
Unanswered
LAURENS-Damien
asked this question in
Help and Questions
Replies: 1 comment 3 replies
-
|
createSpy probably expects a spy getter. |
Beta Was this translation helpful? Give feedback.
3 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.
-
Hello,
I am trying to use cypress for Unit testing and i have a problem with usage of
createSpyfunction. I have the messageYou must configure thecreateSpyoption.because i don't useJestfor Unit Testing. I have tried to do this but it doesn't works :const wrapper = mount(MyComponent, { global: { plugins: [ createTestingPinia({ createSpy: cy.spy }), ], }, });Any idea?
Thanks for responses ^^
Beta Was this translation helpful? Give feedback.
All reactions