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.44 to 0.2.45

4

dist/allure-reporter.d.ts

@@ -24,5 +24,5 @@ /// <reference types="node" />

startStep(name: string, start?: number): AllureStep;
stepStatus(status: Status, details?: StatusDetails): void;
stepStatus(status: Status, details?: StatusDetails | any): void;
private getAttachFile;
endStep(status?: Status, stage?: Stage, details?: StatusDetails, end?: number): void;
endStep(status?: Status, stage?: Stage, details?: StatusDetails | any, end?: number): void;
private endSteps;

@@ -29,0 +29,0 @@ private applyGroupping;

@@ -111,2 +111,6 @@ "use strict";

const trace = content.trace; // ? stripAnsi(content.trace): undefined;
if (!message && !trace) {
buffer = JSON.stringify(content, undefined, ' ');
return this.runtime.writeAttachment(buffer, allure_js_commons_1.ContentType.JSON);
}
if (message && !trace) {

@@ -218,3 +222,2 @@ buffer = message;

// message = stripAnsi(message);
message = message;
this.currentTest.detailsMessage = message;

@@ -224,3 +227,2 @@ if (exceptionInfo.stack && typeof exceptionInfo.stack === 'string') {

// stack = stripAnsi(stack);
stack = stack;
stack = stack.replace(message, '');

@@ -227,0 +229,0 @@ this.currentTest.detailsTrace = stack;

@@ -29,4 +29,4 @@ /// <reference types="node" />

startStep(name: string, start?: number): AllureStep;
stepStatus(status: Status, details?: StatusDetails): void;
endStep(status?: Status, stage?: Stage, details?: StatusDetails, end?: number): void;
stepStatus(status: Status, details?: StatusDetails | any): void;
endStep(status?: Status, stage?: Stage, details?: StatusDetails | any, end?: number): void;
endTest(spec: jasmine_.CustomReporterResult): void;

@@ -33,0 +33,0 @@ writeCategories(categories: Category[]): void;

{
"name": "jest-allure2-adapter",
"version": "0.2.44",
"version": "0.2.45",
"description": "Allure 2 Adapter for jest",

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

@@ -241,4 +241,4 @@ # Jest-Allure-2 reporting plugin

#### 0.2.44: step status without details when throws
#### 0.2.43: feature for suite / story for suite
#### 0.2.42: step status and status details

@@ -245,0 +245,0 @@

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