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

@saucelabs/cucumber-reporter

Package Overview
Dependencies
Maintainers
27
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@saucelabs/cucumber-reporter - npm Package Compare versions

Comparing version 0.2.0 to 0.3.0

2

package.json
{
"name": "@saucelabs/cucumber-reporter",
"version": "0.2.0",
"version": "0.3.0",
"description": "Reports your tests to Sauce Labs",

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

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

this.outputFile = reporterConfig?.outputFile || 'sauce-test-report.json';
this.shouldUpload = reporterConfig?.upload !== false;
this.cucumberVersion = 'unknown';

@@ -56,2 +55,7 @@ this.testRun = new sauce_json_reporter_1.TestRun();

this.startedAt = new Date().toISOString();
this.shouldUpload = reporterConfig?.upload !== false;
// skip uploading report when it's on sauce VM
if (process.env.SAUCE_VM) {
this.shouldUpload = false;
}
let reporterVersion = 'unknown';

@@ -132,2 +136,5 @@ try {

this.reportToFile(this.testRun);
if (!this.shouldUpload) {
return;
}
const id = await this.reportToSauce();

@@ -174,9 +181,7 @@ this.logSauceJob(id);

};
if (this.shouldUpload) {
const sessionID = await this.createJob(jobBody);
if (sessionID) {
await this.uploadAssets(sessionID);
}
return sessionID;
const sessionID = await this.createJob(jobBody);
if (sessionID) {
await this.uploadAssets(sessionID);
}
return sessionID;
}

@@ -183,0 +188,0 @@ async uploadAssets(sessionId) {

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