From 3bbf10fd09f47654a579096b9aa7487385284a8d Mon Sep 17 00:00:00 2001 From: ankit Date: Fri, 24 Feb 2017 12:26:51 +0530 Subject: [PATCH] update karma.config.js --- Slack.Automation/Promact.Erp.Web/karma.config.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Slack.Automation/Promact.Erp.Web/karma.config.js b/Slack.Automation/Promact.Erp.Web/karma.config.js index d4c45273..d130534f 100644 --- a/Slack.Automation/Promact.Erp.Web/karma.config.js +++ b/Slack.Automation/Promact.Erp.Web/karma.config.js @@ -59,18 +59,16 @@ module.exports = function (config) { // preprocess matching files before serving them to the browser // available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor preprocessors: { - "**/app/*spec.js": "coverage" + '**/app/**/!(*spec).js': ['coverage'] }, // test results reporter to use // possible values: 'dots', 'progress' // available reporters: https://npmjs.org/browse/keyword/karma-reporter - reporters: ['progress', 'coverage', 'coveralls'], + reporters: ['progress', 'coverage'], coverageReporter: { reporters: [ - { type: 'html', subdir: 'html' }, - { type: 'lcovonly', subdir: 'lcov' }, { type: 'cobertura', subdir: 'cobertura' }] }, @@ -117,7 +115,6 @@ module.exports = function (config) { 'karma-jasmine', 'karma-chrome-launcher', 'karma-coverage', - 'karma-coveralls' ], })