gulp-jester
v0.1.0
Published
Gulp plugin for running your Jest tests
Downloads
1
Maintainers
Readme
gulp-jest
Gulp plugin for the Jest test library
Installation
$ npm install gulp-jest
Usage
var jest = require('gulp-jest');
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 © Dominic Barker