gulp-jest-iojs

1.0.4 • Public • Published

Build Status

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

Package Sidebar

Install

npm i gulp-jest-iojs

Weekly Downloads

6

Version

1.0.4

License

MIT

Last publish

Collaborators

  • michael.heuberger