mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-28 11:33:43 +03:00
14 lines
270 B
JavaScript
14 lines
270 B
JavaScript
var gulp = require('gulp');
|
|
|
|
var Server = require('karma').Server;
|
|
|
|
/**
|
|
* Run test once and exit
|
|
*/
|
|
gulp.task('test', ['inlineTemplates'], function (done) {
|
|
new Server({
|
|
configFile: __dirname + '/../../karma.conf.js',
|
|
singleRun: true
|
|
}, done).start();
|
|
});
|