gulp-jest-iojs

v1.0.1
Gulp plugin for Jest on io.js
iojs gulpplugin jest test testing unit framework runner tdd and 5 more...

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

Metadata

  • MIT
  • Whatever
  • Michael Heuberger
  • released 8/19/2015

Downloads