json-reporter
Advanced tools
Comparing version 2.1.0 to 2.1.1
@@ -5,2 +5,12 @@ # Change Log | ||
<a name="2.1.1"></a> | ||
## [2.1.1](https://github.com/gemini-testing/json-reporter/compare/v2.1.0...v2.1.1) (2020-02-21) | ||
### Bug Fixes | ||
* suitePath merged on retries ([60c289d](https://github.com/gemini-testing/json-reporter/commit/60c289d)) | ||
<a name="2.1.0"></a> | ||
@@ -7,0 +17,0 @@ # [2.1.0](https://github.com/gemini-testing/json-reporter/compare/v2.0.0...v2.1.0) (2020-02-20) |
@@ -5,4 +5,6 @@ 'use strict'; | ||
function customMerger(objValue, srcValue) { | ||
if (_.isArray(objValue)) { | ||
const nonJoinableArrays = ['suitePath']; | ||
function customMerger(objValue, srcValue, key) { | ||
if (_.isArray(objValue) && !nonJoinableArrays.includes(key)) { | ||
return objValue.concat(srcValue); | ||
@@ -9,0 +11,0 @@ } |
@@ -13,3 +13,3 @@ 'use strict'; | ||
function getSuitePath(suite) { | ||
return (!suite || suite.root) ? [] : [].concat(getSuitePath(suite.parent)).concat(suite.title); | ||
return (!suite || suite.root) ? [] : getSuitePath(suite.parent).concat(suite.title); | ||
} | ||
@@ -16,0 +16,0 @@ |
{ | ||
"name": "json-reporter", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "Common plugin for gemini and hermione which is intended to aggregate the results of tests running", | ||
@@ -5,0 +5,0 @@ "main": "gemini.js", |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
19953
263
0