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
-
Hello,
I am trying to use cypress for Unit testing and i have a problem with usage of
createSpy
function. I have the messageYou must configure the
createSpyoption.
because i don't useJest
for 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