vuejs / vue-jest

Jest Vue transformer
MIT License
746 stars 157 forks source link

fix: fixed `lang='tsx'` files not working for vue2-jest #395

Closed Yama-Tomo closed 2 years ago

Yama-Tomo commented 3 years ago

Fix lang='tsx' files to be transpiled as tsx.

typescript.transpileModule does not correctly parse JSX syntax when the file extension is not .tsx.

lmiller1990 commented 2 years ago

I can release over this weekend. Thanks!

cameron-martin commented 2 years ago

Forcing an ES5 target isn't ideal for us so I like this change. Do you know when you'll do a release with this in?

lmiller1990 commented 2 years ago

Sorry, I forgot to release this. I will try do this within 48h, tag or ping me if it isn't done by the start of next week.