Join our webinar on Wednesday, June 26, at 1pm EDTHow Chia Mitigates Risk in the Crypto Industry.Register
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.50 to 0.2.51

9

dist/allure-reporter.js

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

step(name, body, start, ...args) {
var _a, _b, _c;
var _a, _b, _c, _d, _e, _f;
const allureStep = this.startStep(name, start);

@@ -260,3 +260,3 @@ let result;

catch (error) {
this.endStep(allure_js_commons_1.Status.FAILED);
this.endStep((_b = (_a = this.currentStepStatus) === null || _a === void 0 ? void 0 : _a.status) !== null && _b !== void 0 ? _b : allure_js_commons_1.Status.FAILED, undefined, (_c = this.currentStepStatus) === null || _c === void 0 ? void 0 : _c.details);
throw error;

@@ -273,4 +273,5 @@ }

.catch((error) => {
var _a, _b, _c;
console.log('Result fail: isPromise');
this.endStep(allure_js_commons_1.Status.FAILED);
this.endStep((_b = (_a = this.currentStepStatus) === null || _a === void 0 ? void 0 : _a.status) !== null && _b !== void 0 ? _b : allure_js_commons_1.Status.FAILED, undefined, (_c = this.currentStepStatus) === null || _c === void 0 ? void 0 : _c.details);
throw error;

@@ -280,3 +281,3 @@ });

else {
this.endStep((_b = (_a = this.currentStepStatus) === null || _a === void 0 ? void 0 : _a.status) !== null && _b !== void 0 ? _b : allure_js_commons_1.Status.PASSED, undefined, (_c = this.currentStepStatus) === null || _c === void 0 ? void 0 : _c.details);
this.endStep((_e = (_d = this.currentStepStatus) === null || _d === void 0 ? void 0 : _d.status) !== null && _e !== void 0 ? _e : allure_js_commons_1.Status.PASSED, undefined, (_f = this.currentStepStatus) === null || _f === void 0 ? void 0 : _f.details);
return result;

@@ -283,0 +284,0 @@ }

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