karma-mocha-reporter
Advanced tools
Comparing version 2.2.0 to 2.2.1
@@ -0,1 +1,12 @@ | ||
<a name="2.2.1"></a> | ||
## [2.2.1](https://github.com/litixsoft/karma-mocha-reporter/compare/v2.2.0...v2.2.1) (2016-11-18) | ||
### Bug Fixes | ||
* log can be an empty array ([5f08bbd](https://github.com/litixsoft/karma-mocha-reporter/commit/5f08bbd)) | ||
* log can be empty ([008569a](https://github.com/litixsoft/karma-mocha-reporter/commit/008569a)) | ||
<a name="2.2.0"></a> | ||
@@ -2,0 +13,0 @@ # [2.2.0](https://github.com/litixsoft/karma-mocha-reporter/compare/v2.1.0...v2.2.0) (2016-09-19) |
@@ -358,3 +358,3 @@ 'use strict'; | ||
item.log = item.log || []; | ||
var log = item.log[0].split('\n'); | ||
var log = item.log.length ? item.log[0].split('\n') : []; | ||
var linesToLog = config.mochaReporter.maxLogLines; | ||
@@ -361,0 +361,0 @@ var ii = 0; |
@@ -0,0 +0,0 @@ { |
{ | ||
"name": "karma-mocha-reporter", | ||
"description": "Karma reporter with mocha style logging.", | ||
"version": "2.2.0", | ||
"version": "2.2.1", | ||
"homepage": "http://www.litixsoft.de/index.php?lang=en#modules", | ||
@@ -64,3 +64,3 @@ "author": "Litixsoft GmbH <info@litixsoft.de> (http://www.litixsoft.de)", | ||
"grunt-karma": "^2.0.0", | ||
"grunt-shell": "^1.3.1", | ||
"grunt-shell": "^2.0.0", | ||
"jasmine-core": "^2.5.2", | ||
@@ -67,0 +67,0 @@ "karma": ">=0.13", |
@@ -238,2 +238,3 @@ # karma-mocha-reporter | ||
Let's you set the maximum number of lines which are printed for a failure. The default value is 999. Helps to cut long stack traces. | ||
Set the value to `-1` to disable stack traces. | ||
@@ -240,0 +241,0 @@ |
@@ -0,0 +0,0 @@ // used symbols from here: https://github.com/sindresorhus/log-symbols |
@@ -0,0 +0,0 @@ { |
Sorry, the diff of this file is not supported yet
272
38614
8
569