Socket
Socket
Sign inDemoInstall

html-reporter

Package Overview
Dependencies
Maintainers
7
Versions
310
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.9.2 to 2.9.3

10

CHANGELOG.md

@@ -5,2 +5,12 @@ # Change Log

<a name="2.9.3"></a>
## [2.9.3](https://github.com/gemini-testing/html-reporter/compare/v2.9.2...v2.9.3) (2018-04-01)
### Bug Fixes
* **gui:** collapse suite after image accept ([38e42ff](https://github.com/gemini-testing/html-reporter/commit/38e42ff))
<a name="2.9.2"></a>

@@ -7,0 +17,0 @@ ## [2.9.2](https://github.com/gemini-testing/html-reporter/compare/v2.9.1...v2.9.2) (2018-03-30)

8

lib/static/components/section/section-base.js

@@ -21,3 +21,3 @@ 'use strict';

componentWillMount() {
const {failed, retried, skipped, updated, expand, showRetries} = this._getStateFromProps();
const {failed, retried, skipped, expand, showRetries} = this._getStateFromProps();

@@ -28,3 +28,3 @@ this.setState({

skipped,
collapsed: this._shouldBeCollapsed({failed, retried, updated, expand, showRetries})
collapsed: this._shouldBeCollapsed({failed, retried, expand, showRetries})
});

@@ -58,4 +58,4 @@ }

_shouldBeCollapsed({failed, retried, updated, expand, showRetries}) {
if (expand === 'errors' && failed || updated) {
_shouldBeCollapsed({failed, retried, expand, showRetries}) {
if (expand === 'errors' && failed) {
return false;

@@ -62,0 +62,0 @@ } else if (showRetries && retried) {

@@ -10,3 +10,3 @@ 'use strict';

import Body from './body';
import {isFailStatus, isErroredStatus, isSkippedStatus, isUpdatedStatus} from '../../../common-utils';
import {isFailStatus, isErroredStatus, isSkippedStatus} from '../../../common-utils';

@@ -53,5 +53,4 @@ export class SectionBrowser extends SectionBase {

const skipped = isSkippedStatus(status);
const updated = isUpdatedStatus(status);
return {failed, retried, skipped, updated, expand, showRetries};
return {failed, retried, skipped, expand, showRetries};
}

@@ -58,0 +57,0 @@ }

@@ -9,3 +9,3 @@ 'use strict';

import SectionBrowser from './section-browser';
import {allSkipped, allUpdated, hasFails, hasRetries} from '../../modules/utils';
import {allSkipped, hasFails, hasRetries} from '../../modules/utils';
import Title from './title/simple';

@@ -68,3 +68,2 @@

skipped: allSkipped(suite),
updated: allUpdated(suite),
expand,

@@ -71,0 +70,0 @@ showRetries

@@ -29,9 +29,2 @@ 'use strict';

function allUpdated(node) {
const {result} = node;
const isUpdated = result && isUpdatedStatus(result.status);
return Boolean(isUpdated || walk(node, allUpdated, Array.prototype.every));
}
function walk(node, cb, fn = Array.prototype.some) {

@@ -102,3 +95,2 @@ return node.browsers && fn.call(node.browsers, cb) || node.children && fn.call(node.children, cb);

allSkipped,
allUpdated,
findNode,

@@ -105,0 +97,0 @@ setStatusToAll,

{
"name": "html-reporter",
"version": "2.9.2",
"version": "2.9.3",
"description": "Plugin for gemini and hermione which is intended to aggregate the results of tests running into html report",

@@ -5,0 +5,0 @@ "scripts": {

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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