使用此处找到的Jest Vue cli插件运行单元测试时,我当前遇到以下问题。 https://www.npmjs.com/package/@vue/cli-plugin-unit-jest
我收到的错误是Requires Babel "^7.0.0-0", but was loaded with "6.26.3". If you are sure you have a compatible version of @babel/core, it is likely that somet
hing in your build process is loading the wrong version. Inspect the stack trace of this error to look for the first entry that doesn't mention "@
babel/core" or "babel-core" to see what is calling Babel
我正在使用Yarn工作区,并且想知道强制@vue/cli-plugin-unit-jest
使用版本^7.0.0-0
的babel-core的最佳方法