Socket
Socket
Sign inDemoInstall

jest-allure2-adapter

Package Overview
Dependencies
Maintainers
1
Versions
100
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jest-allure2-adapter - npm Package Compare versions

Comparing version 0.2.34 to 0.2.35

29

dist/allure-reporter.js

@@ -109,15 +109,24 @@ "use strict";

step.statusDetails = this.currentStepStatus.details;
// todo: status details does not work in report
this.stepAttachement('statusDetails2', JSON.stringify(this.currentStepStatus.details, undefined, ' '), allure_js_commons_1.ContentType.JSON);
this.stepAttachement('statusDetailsCsv', `${this.currentStepStatus.details.message}\n${this.currentStepStatus.details.trace}`, allure_js_commons_1.ContentType.CSV);
step.descriptionHtml = 'Description html ';
step.detailsMessage =
this.currentStepStatus.details.message || 'no details';
step.description = 'asdadsda decsr';
// todo: status details does not work in report, workaround below
const file = this.runtime.writeAttachment(JSON.stringify(this.currentStepStatus.details, undefined, ' '), allure_js_commons_1.ContentType.JSON);
this.currentExecutable.addAttachment(name, allure_js_commons_1.ContentType.JSON, file);
/*step.addAttachment(
'statusDetails2',
JSON.stringify(this.currentStepStatus.details, undefined, ' '),
ContentType.JSON,
);
this.addAttachment(
'statusDetailsCsv',
`${this.currentStepStatus.details.message}\n${this.currentStepStatus.details.trace}`,
ContentType.CSV,
);*/
/*
if (this.currentStepStatus.details.message) {
step.addParameter('message', this.currentStepStatus.details.message);
step.addParameter('message', this.currentStepStatus.details.message);
}
if (this.currentStepStatus.details.trace) {
step.addParameter('trace', this.currentStepStatus.details.trace);
}
step.addParameter('trace', this.currentStepStatus.details.trace);
}*/
}

@@ -124,0 +133,0 @@ }

{
"name": "jest-allure2-adapter",
"version": "0.2.34",
"version": "0.2.35",
"description": "Allure 2 Adapter for jest",

@@ -5,0 +5,0 @@ "main": "./dist/index",

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