redoc/build/tasks/test.js
2015-12-09 23:46:27 +02:00

14 lines
249 B
JavaScript

var gulp = require('gulp');
var Server = require('karma').Server;
/**
* Run test once and exit
*/
gulp.task('test', function (done) {
new Server({
configFile: __dirname + '/../../karma.conf.js',
singleRun: true
}, done).start();
});