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.0.3 to 0.0.4

2

dist/reporter.d.ts

@@ -11,2 +11,3 @@ /// <reference types="node" />

private stepNameStack;
private environmentInfo;
constructor(config?: IAllureConfig);

@@ -28,2 +29,3 @@ get currentGroup(): AllureGroup;

step<T>(name: string, body?: (step: StepInterface) => T, ...args: any[]): any;
addEnvironment(name: string, value: string): this;
writeAttachment(content: Buffer | string, type: ContentType): string;

@@ -30,0 +32,0 @@ logStep(name: string, status: Status, attachments?: [Attachment]): void;

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

this.stepNameStack = [];
this.environmentInfo = {};
// const t = new AllureRuntime(config ?? { resultsDir: 'allure-results' });

@@ -224,2 +225,7 @@ }

}
addEnvironment(name, value) {
this.environmentInfo[name] = value;
this.writeEnvironmentInfo(this.environmentInfo);
return this;
}
writeAttachment(content, type) {

@@ -226,0 +232,0 @@ return this.runtime.writeAttachment(content, type);

2

package.json
{
"name": "jest-allure2-adapter",
"version": "0.0.3",
"version": "0.0.4",
"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