karma-mocha-reporter
Advanced tools
Comparing version 0.3.2 to 1.0.0
@@ -31,3 +31,3 @@ 'use strict'; | ||
function getLogSymbol(symbol) { | ||
function getLogSymbol (symbol) { | ||
return chalk.enabled ? symbol : chalk.stripColor(symbol); | ||
@@ -320,5 +320,7 @@ } | ||
self.write(chalk.red(getLogSymbol(logSymbols.error) + ' ' + results.failed + ' tests failed\n')); | ||
self.write(chalk.underline.bold('\nFAILED TESTS:') + '\n'); | ||
printFailures(self.allResults); | ||
if (outputMode !== 'noFailures') { | ||
self.write(chalk.underline.bold('\nFAILED TESTS:') + '\n'); | ||
printFailures(self.allResults); | ||
} | ||
} | ||
@@ -325,0 +327,0 @@ } |
{ | ||
"name": "karma-mocha-reporter", | ||
"description": "Karma reporter with mocha style logging.", | ||
"version": "0.3.2", | ||
"version": "1.0.0", | ||
"homepage": "http://www.litixsoft.de/modules-karmamochareporter", | ||
@@ -54,3 +54,3 @@ "author": "Litixsoft GmbH <info@litixsoft.de> (http://www.litixsoft.de)", | ||
"jasmine-core": "2.2.0", | ||
"karma-detect-browsers": "^1.0.0", | ||
"karma-detect-browsers": "^1.1.0", | ||
"karma-jasmine": "^0.3.5" | ||
@@ -57,0 +57,0 @@ }, |
@@ -51,7 +51,9 @@ # karma-mocha-reporter | ||
**Possible Values:** | ||
* `full` (default) | ||
* `autowatch` | ||
* `minimal` | ||
With option `full` all output is printed to the console. The option `autowatch` means that the first run will have the full output and the next runs just output the summary and errors in mocha style. With the option `minimal` only the summary and errors are printed to the console in mocha style. | ||
Value | Description | ||
------ | ----------- | ||
`full` (default) | all output is printed to the console | ||
`autowatch` | first run will have the full output and the next runs just output the summary and errors in mocha style | ||
`minimal` | only the summary and errors are printed to the console in mocha style | ||
`noFailures` | the failure details are not logged | ||
@@ -99,2 +101,6 @@ ```js | ||
## Release History | ||
### v1.0.0 | ||
* add output option `noFailures` - when set, the failure details are not logged | ||
* time to get final with 1.0.0 :-) | ||
### v0.3.2 | ||
@@ -101,0 +107,0 @@ * strip color from symbols when colors is set to false |
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
18745
279
0
168