From: gustavo Date: Fri, 28 Oct 2016 16:39:50 +0000 (+0200) Subject: Using Chromium Headless X-Git-Url: https://git.gumartinm.name/?a=commitdiff_plain;h=refs%2Fheads%2Fmaster;p=JavaScriptForFun Using Chromium Headless --- 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); } }