I\'m trying to use the gulp-mocha module but can\'t figure out a good way to pass over the compilers flag. Is there a way to include this in my gulp task? Maybe in a separate
var mocha = require('gulp-mocha'); var babel = require('babel/register'); gulp.task('mocha', function() { return gulp.src(['test/**/*.js']) .pipe(mocha({ compilers: { js: babel } })); });