Skip to content

Latest commit

 

History

History
43 lines (29 loc) · 1.01 KB

README.md

File metadata and controls

43 lines (29 loc) · 1.01 KB

Build Status Code Climate Test Coverage

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({
    config: {
      "preprocessorIgnorePatterns": [
        "<rootDir>/dist/", "<rootDir>/node_modules/"
      ],
      "automock": false
    }
  }));
});

API

jest(options)

options

as per Jest config

License

MIT © Dominic Barker