Nuxt 3 + Vuetify 3 + nuxt-vitest - vitest shows error on launch
Hi, I uses Nuxt 3 and Vuetify 3 and I want to test my components. But when I run vitest, It shows these errors. The two same errors at the bottom disappear when I remove the suspendedMount. If I use mount, it shows another error. There is also an error at the top. Maybe I forgot to configure something but I don't know what.
![No description](https://cdn.answeroverflow.com/1116294865702105159/image.png)
![No description](https://cdn.answeroverflow.com/1116294866012487710/image.png)
![No description](https://cdn.answeroverflow.com/1116294866402541598/image.png)
3 Replies
This seems to be caused by the Layout. I have 2 layouts. I use the layout login for this page and I have a default layout. The default layout seems to break a page using the login layout.
https://discord.com/channels/473401852243869706/897487139888062506/1116117014315008041
tldr: fix is coming. temp workaround is to install the PR version that has the fix:
"nuxt": "npm:nuxt3@pr-21450"
Thanks for the answer. I managed to move the default layout to a "logged" layout. It fixed it until the real fix comes.