Adding a single run karma task for later CI setup
This commit is contained in:
parent
961d4812e9
commit
99970dd2ab
10
gulpfile.js
10
gulpfile.js
@ -96,3 +96,13 @@ gulp.task('karma', function(done) {
|
||||
configFile: path.join(__dirname, 'karma.conf.js')
|
||||
}, done);
|
||||
});
|
||||
|
||||
gulp.task('karma:single', function(done) {
|
||||
var karma = require('karma'),
|
||||
path = require('path');
|
||||
|
||||
karma.server.start({
|
||||
configFile: path.join(__dirname, 'karma.conf.js'),
|
||||
singleRun: true
|
||||
}, done);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user