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

wdio-timeline-reporter

Package Overview
Dependencies
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wdio-timeline-reporter - npm Package Compare versions

Comparing version 0.1.6 to 0.1.7

7

lib/timeline-reporter.js

@@ -256,4 +256,7 @@ const events = require('events');

const lastKey = Object.keys(spec.suites)[Object.keys(spec.suites).length - 1];
const currentTestKey = Object.keys(spec.suites[lastKey].tests)[Object.keys(spec.suites[lastKey].tests).length - 1];
spec.suites[lastKey].tests[currentTestKey].screenshots.push(runner.filename);
const tests = Object.keys(spec.suites[lastKey].tests);
if (tests.length > 0) {
const currentTestKey = tests[tests.length - 1];
spec.suites[lastKey].tests[currentTestKey].screenshots.push(runner.filename);
}
});

@@ -260,0 +263,0 @@

{
"name": "wdio-timeline-reporter",
"version": "0.1.6",
"version": "0.1.7",
"description": "",

@@ -5,0 +5,0 @@ "main": "lib/timeline-reporter.js",

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