Socket
Socket
Sign inDemoInstall

jest-allure2-adapter

Package Overview
Dependencies
11
Maintainers
1
Versions
100
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.2.37 to 0.2.38

14

dist/allure-reporter.js

@@ -98,3 +98,3 @@ "use strict";

endStep(status, stage, details, end) {
var _a, _b;
var _a;
const step = this.stepStack.pop();

@@ -111,5 +111,11 @@ if (!step) {

// 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);
(_b = this.currentStep) === null || _b === void 0 ? void 0 : _b.addAttachment('status details', allure_js_commons_1.ContentType.JSON, file);
/*step.addAttachment(
const buffer = JSON.stringify(this.currentStepStatus.details, undefined, ' ');
const file = this.runtime.writeAttachment(buffer, allure_js_commons_1.ContentType.JSON);
this.addAttachment('statusDetails1', buffer, allure_js_commons_1.ContentType.JSON);
/* this.currentStep?.addAttachment(
'status details',
ContentType.JSON,
file,
);
step.addAttachment(
'statusDetails2',

@@ -116,0 +122,0 @@ JSON.stringify(this.currentStepStatus.details, undefined, ' '),

{
"name": "jest-allure2-adapter",
"version": "0.2.37",
"version": "0.2.38",
"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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc