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

wdio-ctrf-json-reporter

Package Overview
Dependencies
Maintainers
0
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wdio-ctrf-json-reporter - npm Package Compare versions

Comparing version 0.0.8 to 0.0.9

7

dist/generate-report.js

@@ -55,3 +55,2 @@ "use strict";

onSuiteStart(suite) {
fs.writeFileSync('suitestats.json', JSON.stringify(suite));
this.currentSuite = suite.fullTitle;

@@ -77,3 +76,2 @@ this.currentSpecFile = suite.file;

onRunnerEnd(runner) {
fs.writeFileSync('runner-stats.json', JSON.stringify(runner));
this.ctrfReport.results.summary.stop = Date.now();

@@ -120,3 +118,2 @@ const specFilePath = runner.specs[0];

var _a, _b;
fs.writeFileSync('teststats.json', JSON.stringify(test));
const ctrfTest = {

@@ -135,4 +132,4 @@ name: test.title,

ctrfTest.type = (_a = this.reporterConfigOptions.testType) !== null && _a !== void 0 ? _a : 'e2e';
ctrfTest.retry = test.retries;
ctrfTest.flake = test.state === 'passed' && ((_b = test.retries) !== null && _b !== void 0 ? _b : 0) > 0;
ctrfTest.retries = test.retries;
ctrfTest.flaky = test.state === 'passed' && ((_b = test.retries) !== null && _b !== void 0 ? _b : 0) > 0;
ctrfTest.suite = this.currentSuite;

@@ -139,0 +136,0 @@ ctrfTest.filePath = this.currentSpecFile;

{
"name": "wdio-ctrf-json-reporter",
"version": "0.0.8",
"version": "0.0.9",
"description": "",

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

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