vuejs / vue-jest

Jest Vue transformer
MIT License
748 stars 156 forks source link

fix(vue2-jest): interop custom transformer require #390

Open blake-newman opened 3 years ago

blake-newman commented 3 years ago

interop custom transformer require. Some transformers may not interop correctly when requiring, return transformer.default or transformer.

@vue/vue3-jest fix: #391 fixes #383

lmiller1990 commented 3 years ago

Any chance of a test for this? Or maybe someone else can pick it up?

blake-newman commented 3 years ago

@lmiller1990 sorry not had a chance to pick up yet. I'll be picking up shortly

lmiller1990 commented 2 years ago

I wonder if we still need this? Is this still an issue on Jest 29 + Vue 2 + vue/vue2-jest@29?

blake-newman commented 2 years ago

@lmiller1990 i'll mark the PR as draft. It may not be needed but yet to upgrade jest to that version.