JuniorTour / vue-template-babel-compiler

Enable Optional Chaining(?.), Nullish Coalescing(??) and many new ES syntax for Vue.js SFC based on Babel
https://www.npmjs.com/package/vue-template-babel-compiler
118 stars 9 forks source link

[Bug] support for jest >= 27? #47

Open donghoon-song opened 1 year ago

donghoon-song commented 1 year ago

Current behavior

I'm using jest 28 and vue2-jest 28. Do you have any plans to support?

// or write your error code here

Expected behavior

Extra

JuniorTour commented 1 year ago

This libs works for jest@28+!

Here is a DEMO: https://github.com/JuniorTour/vue-template-babel-compiler-nuxt-project/commit/4c475274cc5eedf4aa918cca53e29bd346af197a

stephane303 commented 10 months ago

What about jest 27, as I am stuck with this version

stephane303 commented 10 months ago

It works! I used https://github.com/JuniorTour/vue-template-babel-compiler/issues/8#issuecomment-914010652