Closed cexbrayat closed 2 years ago
These options can be used to define Vue compiler options in @vue/vue3-jest.
@vue/vue3-jest
For example, to enable the newly introduced propsDestructureTransform in Vue v3.2.20:
propsDestructureTransform
globals: { 'vue-jest': { compilerOptions: { propsDestructureTransform: true } } }
or to disable refTransform (which is enabled by default):
refTransform
globals: { 'vue-jest': { compilerOptions: { refTransform: false } } }
These options can be used to define Vue compiler options in
@vue/vue3-jest
.For example, to enable the newly introduced
propsDestructureTransform
in Vue v3.2.20:or to disable
refTransform
(which is enabled by default):