You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This returns as error "Cannot destructure property 'vueApp' of 'globalThis.unctx.get(...).tryUse(...)' as it is undefined."
Another issue I sometimes get is the following: (not sure if related)
Describe the bug
While following the getting started for nuxt/test-utils I come across the following error:
Cannot destructure property 'vueApp' of 'globalThis.__unctx__.get(...).tryUse(...)' as it is undefined.
This happens as soon as I try to import anything from @nuxt/test-utils/runtime. Changing environment to jsdom, happy-dom or nuxt does not change anything.
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered:
Reproductions make it possible for us to triage and fix issues quickly with a relatively small team. It helps us discover the source of the problem, and also can reveal assumptions you or we might be making.
What will happen?
If you've provided a reproduction, we'll remove the label and try to reproduce the issue. If we can, we'll mark it as a bug and prioritise it based on its severity and how many people we think it might affect.
If needs reproduction labeled issues don't receive any substantial activity (e.g., new comments featuring a reproduction link), we'll close them. That's not because we don't care! At any point, feel free to comment with a reproduction and we'll reopen it.
How can I create a reproduction?
We have a couple of templates for starting with a minimal reproduction:
Environment
Reproduction
I simply follow the getting started and this works up until I try to use mountSuspended or renderSuspended. I try a basic test as following:
This returns as error "Cannot destructure property 'vueApp' of 'globalThis.unctx.get(...).tryUse(...)' as it is undefined."
Another issue I sometimes get is the following: (not sure if related)
Describe the bug
While following the getting started for nuxt/test-utils I come across the following error:
Cannot destructure property 'vueApp' of 'globalThis.__unctx__.get(...).tryUse(...)' as it is undefined.
This happens as soon as I try to import anything from
@nuxt/test-utils/runtime
. Changing environment to jsdom, happy-dom or nuxt does not change anything.Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: