gulp-jest-iojs
Gulp plugin for Jest on io.js, originally forked from https://github.com/Dakuan/gulp-jest
Installation
$ npm i -D gulp-jest-iojs
Usage
var jest = require('gulp-jest-iojs');
gulp.task('jest', function () {
return gulp.src('__tests__').pipe(jest({
scriptPreprocessor: "./spec/support/preprocessor.js",
unmockedModulePathPatterns: [
"node_modules/react"
],
testDirectoryName: "spec",
testPathIgnorePatterns: [
"node_modules",
"spec/support"
],
moduleFileExtensions: [
"js",
"json",
"react"
]
}));
});
API
jest(options)
options
as per Jest config
License
MIT © Michael Heuberger, Dominic Barker