You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since my whole monorepo is using Babel I don't want to rely on the TypeScript compiler for transpilation purposes at all. It doesn't make sense because it could introduce subtle differences between the transpilation output in tests and in my app bundles.
I'd like to have a way to disable ts-jest completely and just use babel-jest for transpilation. I've already figured out that I can disable this part:
It's states that
ts-jest
is an optional peer dep:vue-jest/packages/vue3-jest/package.json
Lines 47 to 49 in 6edfa9c
However,
@vue/vue3-jest
cannot be used without it because if we havetsconfig.json
thents-jest
is being required here:vue-jest/packages/vue3-jest/lib/utils.js
Line 81 in 6edfa9c
Since my whole monorepo is using Babel I don't want to rely on the TypeScript compiler for transpilation purposes at all. It doesn't make sense because it could introduce subtle differences between the transpilation output in tests and in my app bundles.
I'd like to have a way to disable
ts-jest
completely and just usebabel-jest
for transpilation. I've already figured out that I can disable this part:vue-jest/packages/vue3-jest/lib/process.js
Lines 21 to 22 in 6edfa9c
with a config such as this:
but then I've found out that
ts-jest
is still being required through here:vue-jest/packages/vue3-jest/lib/process.js
Line 121 in 5741877
So my current workaround for this is this:
The text was updated successfully, but these errors were encountered: