Skip to content

Commit

Permalink
Bump karma version
Browse files Browse the repository at this point in the history
  • Loading branch information
ruipenso committed Feb 10, 2016
1 parent 02d1a49 commit f708bc0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ var concat = require('gulp-concat');
var gulp = require('gulp');
var header = require('gulp-header');
var jshint = require('gulp-jshint');
var karma = require('karma').server;
var karma = require('karma').Server;
var ngAnnotate = require('gulp-ng-annotate');
var pkg = require('./package.json');
var rename = require('gulp-rename');
Expand Down Expand Up @@ -95,12 +95,14 @@ gulp.task('scripts-lint', function() {
*/

gulp.task('test', ['scripts'], function() {
return karma.start({
var server = new karma({
configFile: __dirname + '/karma.conf.js',
singleRun: true
}, function(code) {
console.log('Karma has exited with code', code);
});

return server.start();
});

/**
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"gulp-uglify": "^1.0.2",
"gulp-wrap-umd": "^0.2.1",
"jshint-stylish": "^1.0.0",
"karma": "^0.12.31",
"karma": "^0.13.0",
"karma-browserify": "^2.0.0",
"karma-chrome-launcher": "^0.1.7",
"karma-firefox-launcher": "^0.1.4",
Expand Down

0 comments on commit f708bc0

Please sign in to comment.