Skip to content

Instantly share code, notes, and snippets.

@Nijhazer
Created December 2, 2015 03:35
Show Gist options
  • Save Nijhazer/60dadcbbd7d2f9e256d2 to your computer and use it in GitHub Desktop.
Save Nijhazer/60dadcbbd7d2f9e256d2 to your computer and use it in GitHub Desktop.
Building Applications with TypeScript - Snippet 16
var mocha = require('gulp-mocha');
gulp.task('test:api', ['compile:api'], function() {
return gulp.src('api/unit/test/location/**/*.js', {
read: false
}).pipe(mocha({
reporter: 'spec'
}));
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment