Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cucumber-html-reporter

Package Overview
Dependencies
Maintainers
1
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cucumber-html-reporter - npm Package Compare versions

Comparing version 5.4.0 to 5.5.0

30

lib/reporter.js

@@ -189,2 +189,19 @@ 'use strict';

var parseScenarioHooks = function(data) {
return data.map(step => {
const match = step.match && step.match.location ? step.match : {location: 'can not be determined'};
if(step.embeddings == undefined){
return {}
}
return {
arguments: step.arguments || [],
result: step.result,
match,
embeddings: step.embeddings || []
}
})
};
var setStats = function (suite) {

@@ -222,2 +239,15 @@ var featureOutput = suite.features;

if (feature.elements) {
feature.elements.map(scenario => {
const {before, after} = scenario;
if (before) {
scenario.steps = parseScenarioHooks(before).concat(scenario.steps);
}
if (after) {
scenario.steps = scenario.steps.concat(parseScenarioHooks(after));
}
})
}
feature.elements.forEach(function (element) {

@@ -224,0 +254,0 @@ element.passed = 0;

2

package.json
{
"name": "cucumber-html-reporter",
"version": "5.4.0",
"version": "5.5.0",
"description": "Generates Cucumber HTML reports in three different themes",

@@ -5,0 +5,0 @@ "main": "index.js",

Sorry, the diff of this file is not supported yet

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