-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
unable to shallowmount with vue component #3011
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
3.1.1
Reproduction link
jestjs/jest#7413
Node and OS info
yarn
Steps to reproduce
Hi, i am using @vue/cli-plugin-unit-jest : "^3.1.1" and when i run src/view/* component test script file then shallowMount working fine but when i run src/components/* component test script file then its show bellow error.
What is expected?
shallowMount work fine with component
What is actually happening?
not working
Hi, please help me to solve such issue. my component & test file content are below....
register.vue
register.spec.js
error while run test
The text was updated successfully, but these errors were encountered: