Open
Description
Subject of the issue
I'm unable to properly test whether a component renders correctly when it uses defineAsyncComponent to lazily load a child component.
When I mount the parent component with vue-test-utils, the child component is never mounted.
Steps to reproduce
https://stackblitz.com/edit/github-iogvrfxn?file=src%2Fcomponents%2F__tests__%2FHelloWorld.spec.ts
Expected behaviour
The component shoud be visible when I use 'wrapper.html()'
Actual behaviour
The asyn component is never loaded
Possible Solution
What are the alternative solutions? Please describe what else you have considered?
I tried tu use Suspense and flushPromises without success
Metadata
Metadata
Assignees
Labels
No labels