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
So why would you need to install the bride? it's needed only when other packages are using Babel version below 7.
Also worth mentioning in the README that this package is not needed if one already has Babel installed & configured with a Babel configuration file & preset for vue, because all Jest tests files automatically pass through it, as clearly mentioned in Jest "getting started" docs:
So, it is very confusing, as why vue-jest is needed at all.
This section is confusing: https://github.com/vuejs/vue-jest#usage-with-babel-7
babel-jest
is already using@babel/core
version7+
:https://github.com/facebook/jest/blob/main/packages/babel-jest/package.json#L30
So why would you need to install the bride? it's needed only when other packages are using Babel version below
7
.Also worth mentioning in the README that this package is not needed if one already has
Babel
installed & configured with a Babel configuration file & preset forvue
, because all Jest tests files automatically pass through it, as clearly mentioned in Jest "getting started" docs:So, it is very confusing, as why vue-jest is needed at all.
One can only assume, after installing Babel, the next logical step is to install a preset, and for
vue
, that would be: https://www.npmjs.com/package/@vue/babel-preset-appThe text was updated successfully, but these errors were encountered: