I have a vue 3 project that uses vue-jest. When I run the tests, I get an error that all the components are missing that are being auto-imported by unplugin.
I found a work around adding in a global parameter with all the components. (components is being imported from another object)
I have a vue 3 project that uses
vue-jest
. When I run the tests, I get an error that all the components are missing that are being auto-imported by unplugin.I found a work around adding in a global parameter with all the components. (components is being imported from another object)
You can see this working here.
Is there an easier way of getting this working? Right now I cannot move to vitest.