0.1.0 • Published 8 years ago
babelify-jest v0.1.0
babelify-jest
Babel jest plugin which handles babelify modules gently.
Usage
Make the following changes to package.json
:
{
"devDependencies": {
"babel-jest": "*",
"jest-cli": "*"
},
"scripts": {
"test": "jest"
},
"jest": {
"scriptPreprocessor": "<rootDir>/node_modules/babelify-jest",
"testFileExtensions": ["es6", "js"],
"moduleFileExtensions": ["js", "json", "es6"]
}
}
And run:
$ npm install
And you're good to go!
0.1.0
8 years ago