-
Notifications
You must be signed in to change notification settings - Fork 668
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support stubs and make sure working with Vue 2.7 #2048
Comments
Hello, I have a simple base project with vite - vue2.7 - vitest - testing-library I manage to get it work only if I stub all child component in the test file. https://github.com/johndegey/vite-vitest-vue2 The branch 'stubbing' does not have unplugin-vue-component Hope this could help you... Best John Edit: part of my workaround came from here |
Hi! What should I do? I checked out |
Hi, Sorry, i'm terrible at explaining myself ;) Try the main branch
In the branch stubbing_work :
Seems that the import in the script setup automaticaly failes the stubbing. Best |
Now Vue 2.7 has script setup, we need some test cases around this. I think stubs doesn't work: cypress-io/cypress#25450
The text was updated successfully, but these errors were encountered: