UNPKG

gulp-mocha-tdd

Version:

easy test driven development with gulp and mocha

13 lines (10 loc) 259 B
var istanbul = require('gulp-istanbul'); var Path = require('path'); module.exports = function (options) { var gulp = options.gulp; return [ gulp.src(Path.resolve(options.outputPath + '/**/*.js')), istanbul(), istanbul.hookRequire() ]; };