From 486740fa2ed8cb325cbdb819ec0f9884901321da Mon Sep 17 00:00:00 2001 From: Will Abson Date: Fri, 22 Jul 2016 09:29:45 +0100 Subject: [PATCH] Add coveralls config for processlist Refs #344 --- ng2-components/ng2-activiti-processlist/karma.conf.js | 6 +++--- ng2-components/ng2-activiti-processlist/package.json | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ng2-components/ng2-activiti-processlist/karma.conf.js b/ng2-components/ng2-activiti-processlist/karma.conf.js index ff8918b1db..5cd8767851 100644 --- a/ng2-components/ng2-activiti-processlist/karma.conf.js +++ b/ng2-components/ng2-activiti-processlist/karma.conf.js @@ -67,7 +67,7 @@ module.exports = function (config) { ], // Coverage reporter generates the coverage - reporters: ['mocha', 'coverage', 'kjhtml'], + reporters: ['mocha', 'coverage', 'coveralls', 'kjhtml'], // Source files that you wanna generate coverage for. // Do not include tests or libraries (these files will be instrumented by Istanbul) @@ -80,9 +80,9 @@ module.exports = function (config) { subdir: 'report', reporters: [ {type: 'text'}, - {type: 'text-summary'}, {type: 'json', file: 'coverage-final.json'}, - {type: 'html'} + {type: 'html'}, + {type: 'lcov'} ] } }) diff --git a/ng2-components/ng2-activiti-processlist/package.json b/ng2-components/ng2-activiti-processlist/package.json index c3af1a2e84..2b4798ac88 100644 --- a/ng2-components/ng2-activiti-processlist/package.json +++ b/ng2-components/ng2-activiti-processlist/package.json @@ -73,6 +73,7 @@ "karma": "~0.13.22", "karma-chrome-launcher": "~1.0.1", "karma-coverage": "^1.0.0", + "karma-coveralls": "^1.1.2", "karma-jasmine": "~1.0.2", "karma-jasmine-ajax": "^0.1.13", "karma-jasmine-html-reporter": "^0.2.0",