1.3.0 • Published 3 years ago
build-tools-babel-jest v1.3.0
build-tools-babel-jest
Adds all required dependencies and configurations to use babel with jest in JavaScript projects.
Although not required, it works best with build-tools-jest
.
Install
npm install --save-dev build-tools-jest build-tools-babel-jest
Usage
Extend your jest configuration with build-tools-babel-jest
// jest.config.js
module.exports = {
...require('build-tools-jest')
...require('build-tools-babel-jest')
};
Then you can run jest as you would normally do, e.g:
npx jest --config jest.config.js