vuejs / vue-jest

Jest Vue transformer
MIT License
746 stars 157 forks source link

Incorrect warning when babel is not required #429

Open alejandroclaro opened 2 years ago

alejandroclaro commented 2 years ago

After upgrading to @vue/vue3-jest, looks like babel is a peer dependency but it's actually always required. Yarn/NPM then produce this warning:

warning > xxxxx > @vue/vue3-jest@27.0.0-alpha.4" has unmet peer dependency "babel-jest@27.x".

I think this should be cleaner and only alert that the peer dependency is missing when it's actually needed.

soc221b commented 1 year ago

Any updates here? We use swc instead of babel 😢 .