Files @ abbe05ee0e6a
Branch filter:

Location: CopyleftConf/copyleftconf-website/gulp/tasks/test.js

Christopher Neugebauer
Fixes a thing or two
/**
 * Dependencies
 */
const gulp  = require('gulp');
const mocha = require('gulp-mocha');

/**
 * Module body / Expose
 */
module.exports = (entry, config) => {
  config = config || {};
  return gulp.src(entry, config)
    .pipe(mocha({
      require: [
        'babel-register'
      ]
    }));
};