Skip to content

Commit a2bc9a7

Browse files
committed
Add karma-spec-reporter for better test messages
1 parent 574ad71 commit a2bc9a7

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

karma.conf.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ module.exports = function(config) {
3939
// test results reporter to use
4040
// possible values: 'dots', 'progress'
4141
// available reporters: https://npmjs.org/browse/keyword/karma-reporter
42-
reporters: ['progress'],
42+
reporters: ['spec'],
4343

4444

4545
// web server port
@@ -77,7 +77,8 @@ module.exports = function(config) {
7777
require('karma-chai-sinon'),
7878
require('karma-sourcemap-loader'),
7979
require('karma-phantomjs-launcher'),
80-
require('karma-chrome-launcher')
80+
require('karma-chrome-launcher'),
81+
require('karma-spec-reporter')
8182
]
8283
})
8384
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
"compile": "babel -d lib/ components/",
1010
"prepublish": "npm run compile",
1111
"test": "scripts/test --single-run"
12-
1312
},
1413
"repository": {
1514
"type": "git",
@@ -50,6 +49,7 @@
5049
"karma-mocha": "^0.2.0",
5150
"karma-phantomjs-launcher": "^0.2.1",
5251
"karma-sourcemap-loader": "^0.3.5",
52+
"karma-spec-reporter": "0.0.20",
5353
"karma-webpack": "^1.7.0",
5454
"mocha": "^2.3.3",
5555
"phantomjs": "^1.9.18",

0 commit comments

Comments
 (0)