📌  相关文章
📜  错误:需要 babel "^7.0.0-0",但加载了 "6.26.3". - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:26.445000             🧑  作者: Mango

代码示例3
Looks like you need
to install babel-core as the docs 
suggest: https://jestjs.io/docs/en/getting-started#using-babel

yarn add --dev babel-jest babel-core@^7.0.0-bridge.0 @babel/core regenerator-runtime