babel-jest-nested
v23.2.0
Published
Jest plugin to use babel for transformation, supporting .babelrc files in sub-directories.
Readme
babel-jest-nested
Usage
To explicitly define babel-jest-nested as a transformer for your JavaScript code, map .js files to the babel-jest-nested module.
"transform": {
"^.+\\.jsx?$": "babel-jest-nested"
},Note: If you are using babel version 7 you have to install
babel-jestwithyarn add --dev babel-jest babel-core@^7.0.0-0 @babel/core
