-
Notifications
You must be signed in to change notification settings - Fork 85
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
error.vue can't be tested #769
Comments
Same issue, reproduces when you have |
Got the same error trying to test overwritten
|
Same as #684 ? |
I got the same error with a props name I suggest changing the name |
This should now be resolved in #1025. |
Environment
StackBlitz
Reproduction
https://stackblitz.com/edit/github-vy6psx-sn3lfr?file=.nuxtignore,error.vue,__tests__%2Ferror.spec.ts
Describe the bug
I get this error:
[Vue Router warn]: No match found for location with path "/123" [Vue warn]: Cannot mutate <script setup> binding "error" from Options API. at <MountSuspendedComponent error= { url: '/123', statusCode: 404, statusMessage: 'Not Found', message: 'Error', description: '' } > at <MountSuspendedHelper> at <Anonymous ref="VTU_COMPONENT" > at <VTUROOT> [Vue warn]: Unhandled error during execution of render function at <MountSuspendedComponent error= { url: '/123', statusCode: 404, statusMessage: 'Not Found', message: 'Error', description: '' } > at <MountSuspendedHelper> at <Anonymous ref="VTU_COMPONENT" > at <VTUROOT>
Additional context
You can get this error running: npm run test ./tests/error.spec.ts
Logs
No response
The text was updated successfully, but these errors were encountered: