Simple Babel preprocessor for Jest
Usage
Install the package:
$ npm install jest-babel --save-dev
Add preprocessor to your package.json
:
If you want to transpile your dependencies, you can skip the key preprocessorIgnorePatterns
.
Extending default config
By default babel will transform your code with this config:
You can override or extend it with jest-babel
section in your package.json
: