tandrewnichols/log-block

View on GitHub
gulp/unit.js

Summary

Maintainability
A
50 mins
Test Coverage
var gulp = require('gulp');
var config = require('./config');
var mocha = require('gulp-mocha');

gulp.task('unit', function() {
  return gulp.src(config.tests, { read: false })
    .pipe(mocha({
      reporter: 'dot',
      ui: 'mocha-given',
      require: ['coffee-script/register', 'should', 'should-sinon']
    }));
});