Open
Description
Me and my team are in the process of migrating our codebase to Vue 3.
We installed the compat build, which allows us to not break most components that are still in Vue 2.
However, our tests started breaking since we installed @vue/vue3-jest
because it seems to only assume that the components being tested are all in Vue 3.
For example, in @vue/vue3-jest/lib/process.js
, the processScriptSetup
and processTemplate
doesn't compile the scripts if descriptor.scriptSetup
can't be found, which would be the case for any Vue 2 components.
Is there a workaround for this?
Which vue-jest
version should we be using during the migration when we will have both Vue 2 and 3 components co-exist?
Metadata
Metadata
Assignees
Labels
No labels