Add karma-spec-reporter

While writing unit tests around our components I found it really
difficult to understand what was going on once a failure happened due to
the lacke of information given by karma progress reporter.
While talking to a few people on the community, found out that karma
spec reporter gives you better feedback.

Change-Id: I0a3278d7ff424e0b3218e3f7b1a2f8356eb51ceb
This commit is contained in:
Glauco Oliveira 2015-10-22 11:10:45 -02:00
parent 9ac96b1552
commit 2e168b4ce5
2 changed files with 4 additions and 2 deletions

View File

@ -55,6 +55,7 @@
"karma-coverage": "0.3.1",
"karma-jasmine": "^0.3.6",
"karma-phantomjs-launcher": "0.2.0",
"karma-spec-reporter": "0.0.20",
"morgan": "^1.6.1",
"phantomjs": "1.9.17",
"pretty-hrtime": "^1.0.0",

View File

@ -23,11 +23,11 @@ module.exports = function(config) {
'app/js/**/*.js': ['browserify', 'babel', 'coverage']
},
reporters: ['progress'],
reporters: ['spec'],
port: 9876,
colors: true,
colors: false,
logLevel: config.LOG_INFO,
@ -42,6 +42,7 @@ module.exports = function(config) {
'karma-browserify',
'karma-coverage',
'karma-jasmine',
'karma-spec-reporter',
'karma-phantomjs-launcher'
],