Socket
Socket
Sign inDemoInstall

html-reporter

Package Overview
Dependencies
Maintainers
7
Versions
309
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

html-reporter - npm Package Compare versions

Comparing version 2.6.0 to 2.6.1

12

CHANGELOG.md

@@ -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 @@

11

lib/gui/tool-runner-factory/base-tool-runner.js

@@ -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": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc