dd8f0ba9c5
Closes #3
18 lines
301 B
JavaScript
18 lines
301 B
JavaScript
/**
|
|
* 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'
|
|
]
|
|
}));
|
|
};
|