From 27daeaff5e5fba05e6bdd7c36273d47646d69a42 Mon Sep 17 00:00:00 2001 From: Alexander Bachmann Date: Sat, 30 Jan 2016 16:05:01 +0100 Subject: [PATCH] fix(karma): fix running karma via gulp As described below, the karma server showdown process can crash, if the done() function, provided by gulp is referenced directly instead of wrapped in a closure function http://stackoverflow.com/questions/26614738/issue-running-karma-task-from-gulp Reformat the gulpfile.js Squashing the two commits --- gulpfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index 669b9e6400..cd58360082 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -826,7 +826,7 @@ gulp.task('test.unit.js/ci', function(done) { reporters: ['dots'], browsers: browserConf.browsersToRun }, - done) + function(err) { done(); }) .start(); });