karma-mocha-reporter
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -164,3 +164,7 @@ 'use strict'; | ||
// add the error log in red | ||
line += chalk.red(formatError((item.log || [])[0], repeatString(' ', depth))); | ||
item.log = item.log || []; | ||
item.log.forEach(function (error) { | ||
line += chalk.red(formatError(error, repeatString(' ', depth))); | ||
}); | ||
} | ||
@@ -167,0 +171,0 @@ |
{ | ||
"name": "karma-mocha-reporter", | ||
"description": "Karma reporter with mocha style logging.", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"homepage": "http://www.litixsoft.de/modules-karmamochareporter", | ||
@@ -45,18 +45,16 @@ "author": "Litixsoft GmbH <info@litixsoft.de> (http://www.litixsoft.de)", | ||
}, | ||
"peerDependencies": { | ||
"karma": ">=0.9" | ||
}, | ||
"devDependencies": { | ||
"grunt": "^0.4.5", | ||
"grunt-contrib-copy": "^0.7.0", | ||
"grunt-contrib-copy": "^0.8.0", | ||
"grunt-contrib-jshint": "^0.11.0", | ||
"grunt-karma": "^0.10.1", | ||
"jasmine-core": "2.2.0", | ||
"karma-detect-browsers": "^1.1.0", | ||
"karma-detect-browsers": "^1.1.2", | ||
"karma-jasmine": "^0.3.5" | ||
}, | ||
"dependencies": { | ||
"chalk": "^0.5.1", | ||
"log-symbols": "^1.0.1" | ||
"chalk": "^1.0.0", | ||
"karma": ">=0.9", | ||
"log-symbols": "^1.0.2" | ||
} | ||
} |
@@ -100,2 +100,5 @@ # karma-mocha-reporter | ||
## Release History | ||
### v1.0.1 | ||
* print out all errors in the summary when spec fails | ||
### v1.0.0 | ||
@@ -102,0 +105,0 @@ * add output option `noFailures` - when set, the failure details are not logged |
18897
282
171
+ Addedkarma@>=0.9
- Removedansi-regex@0.2.1(transitive)
- Removedansi-styles@1.1.0(transitive)
- Removedchalk@0.5.1(transitive)
- Removedhas-ansi@0.1.0(transitive)
- Removedstrip-ansi@0.3.0(transitive)
- Removedsupports-color@0.2.0(transitive)
Updatedchalk@^1.0.0
Updatedlog-symbols@^1.0.2