Finally!
Figured out how to #test a #Vue3 app with #Vitest and #TestUtils:
Wrapping it in a defineComponent containing Suspense wrapped around in the template.
And flushPromises if it fetches data from an API during its async setup.
Just as described in the advanced section of the docs…
The task at hand requires me to push to a private GitHub repo. But it doesn't say I can't push publicly to my public Gitea.
Hit me up if I shall share.
#test #vue3 #Vitest #TestUtils