From f023a967e877dad6f7a3373c92ade9fa09b6c76d Mon Sep 17 00:00:00 2001 From: gustavo Date: Fri, 28 Oct 2016 18:39:50 +0200 Subject: [PATCH] Using Chromium Headless --- gulp/gulp-my-tasks/package.json | 1 + gulp/gulp-my-tasks/tasks/.jshintrc | 2 +- gulp/gulp-my-tasks/tasks/tasks.js | 3 ++- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/gulp/gulp-my-tasks/package.json b/gulp/gulp-my-tasks/package.json index 72be9fa..8e12e17 100644 --- a/gulp/gulp-my-tasks/package.json +++ b/gulp/gulp-my-tasks/package.json @@ -51,6 +51,7 @@ "karma-jasmine": "~1.0.2", "karma-junit-reporter": "~1.0.0", "karma-phantomjs-launcher": "~1.0.0", + "karma-script-launcher": "~1.0.0", "morgan": "~1.7.0", "phantomjs": "~2.1.7", "phantomjs-prebuilt": "~2.1.7", diff --git a/gulp/gulp-my-tasks/tasks/.jshintrc b/gulp/gulp-my-tasks/tasks/.jshintrc index 80de580..547cf87 100644 --- a/gulp/gulp-my-tasks/tasks/.jshintrc +++ b/gulp/gulp-my-tasks/tasks/.jshintrc @@ -29,7 +29,7 @@ "boss": false, "debug": false, "eqnull": true, - "esnext": false, + "esnext": true, "evil": false, "expr": false, "funcscope": false, diff --git a/gulp/gulp-my-tasks/tasks/tasks.js b/gulp/gulp-my-tasks/tasks/tasks.js index df2470a..a7ceaef 100644 --- a/gulp/gulp-my-tasks/tasks/tasks.js +++ b/gulp/gulp-my-tasks/tasks/tasks.js @@ -393,7 +393,7 @@ module.exports = function(gulp, customConfig) { asMap: true })) .pipe(plugins.rename(config.workersFile)) - .pipe(gulp.dest(config.temp));; + .pipe(gulp.dest(config.temp)); }); @@ -484,6 +484,7 @@ module.exports = function(gulp, customConfig) { log('Karma completed'); log('Karma: tests exited with code ' + result); done(); + process.exit(result); } } -- 2.1.4