From b9bcd815bcd1a9d6de5a7bffa05700045dc65da7 Mon Sep 17 00:00:00 2001 From: kazuya kawaguchi Date: Tue, 14 Jun 2016 12:09:10 +0900 Subject: [PATCH] :zap: improvement(cover): update reporter for coverage --- template/config/karma.cover.conf.js | 2 +- template/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/template/config/karma.cover.conf.js b/template/config/karma.cover.conf.js index 2dfac20..7994f4c 100644 --- a/template/config/karma.cover.conf.js +++ b/template/config/karma.cover.conf.js @@ -3,7 +3,7 @@ const base = require('./karma.base.conf') module.exports = config => { const options = Object.assign(base, { browsers: ['PhantomJS'], - reporters: ['progress', 'coverage'], + reporters: ['mocha', 'coverage'], coverageReporter: { reporters: [{ type: 'lcov', dir: '../coverage' diff --git a/template/package.json b/template/package.json index d1b0ac0..87712d7 100644 --- a/template/package.json +++ b/template/package.json @@ -47,13 +47,13 @@ {{/coveralls}} "karma-firefox-launcher": "^1.0.0", "karma-jasmine": "^1.0.2", + "karma-mocha-reporter": "^2.0.4", "karma-phantomjs-launcher": "^1.0.0", "karma-safari-launcher": "^1.0.0", {{#sauce}} "karma-sauce-launcher": "^1.0.0", {{/sauce}} "karma-sourcemap-loader": "^0.3.5", - "karma-spec-reporter": "^0.0.26", "karma-webpack": "^1.7.0", "phantomjs-prebuilt": "^2.1.1", "power-assert": "^1.2.0",