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
This commit is contained in:
Alexander Bachmann 2016-01-30 16:05:01 +01:00 committed by Alex Eagle
parent 3e9b532409
commit 27daeaff5e
1 changed files with 1 additions and 1 deletions

View File

@ -826,7 +826,7 @@ gulp.task('test.unit.js/ci', function(done) {
reporters: ['dots'],
browsers: browserConf.browsersToRun
},
done)
function(err) { done(); })
.start();
});