Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

error: requires babel "^7.0.0-0", but was loaded with "6.26.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
Source by jestjs.io #
 
PREVIOUS NEXT
Tagged: #requires #babel #loaded
ADD COMMENT
Topic
Name
7+4 =