html-reporter
Advanced tools
Comparing version 2.6.0 to 2.6.1
@@ -5,2 +5,12 @@ # Change Log | ||
<a name="2.6.1"></a> | ||
## [2.6.1](https://github.com/gemini-testing/html-reporter/compare/v2.6.0...v2.6.1) (2018-03-10) | ||
### Bug Fixes | ||
* **reuse:** reset reuse flag for each suite ([60c7eb1](https://github.com/gemini-testing/html-reporter/commit/60c7eb1)) | ||
<a name="2.6.0"></a> | ||
@@ -14,3 +24,3 @@ # [2.6.0](https://github.com/gemini-testing/html-reporter/compare/v2.5.0...v2.6.0) (2018-03-06) | ||
* **gui:** wrong dot colors ([0064762](https://github.com/gemini-testing/html-reporter/commit/0064762)) | ||
* fail to build report for hermione if it has failed tests ([a56e6a8](https://github.com/gemini-testing/html-reporter/commit/a56e6a8)) | ||
* hermione when failed ([a56e6a8](https://github.com/gemini-testing/html-reporter/commit/a56e6a8)) | ||
@@ -17,0 +27,0 @@ |
@@ -49,3 +49,3 @@ 'use strict'; | ||
return testSuites.map(applyReuse(reuseData)); | ||
return testSuites.map((suite) => applyReuse(reuseData)(suite)); | ||
} | ||
@@ -62,3 +62,3 @@ }; | ||
return isBrowserResultReused | ||
? _.set(suite, 'status', getReuseStatus(reuseData.suites, suite.suitePath)) | ||
? _.set(suite, 'status', getReuseStatus(reuseData.suites, suite)) | ||
: suite; | ||
@@ -72,3 +72,3 @@ } | ||
isBrowserResultReused = true; | ||
suite.status = getReuseStatus(reuseData.suites, suite.suitePath); | ||
suite.status = getReuseStatus(reuseData.suites, suite); | ||
} | ||
@@ -83,4 +83,5 @@ | ||
function getReuseStatus(reuseSuites, suitePath) { | ||
return findNode(reuseSuites, suitePath).status; | ||
function getReuseStatus(reuseSuites, {suitePath, status: defaultStatus}) { | ||
const reuseNode = findNode(reuseSuites, suitePath); | ||
return _.get(reuseNode, 'status', defaultStatus); | ||
} | ||
@@ -87,0 +88,0 @@ |
{ | ||
"name": "html-reporter", | ||
"version": "2.6.0", | ||
"version": "2.6.1", | ||
"description": "Plugin for gemini and hermione which is intended to aggregate the results of tests running into html report", | ||
@@ -5,0 +5,0 @@ "scripts": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6346270
6957