eskimoblood / gulp-jest

Gulp plugin for the Jest test lib

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Gulp plugin for the Jest test lib

License:MIT License


Languages

Language:JavaScript 100.0%