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.49 to 0.2.50

8

dist/allure-reporter.js

@@ -107,7 +107,3 @@ "use strict";

getAttachFile(content, type) {
const stripped = content
.split('\n')
.map((p) => stripAnsi(p))
.join('\n');
return this.runtime.writeAttachment(stripped, type);
return this.runtime.writeAttachment(stripAnsi(content), type);
}

@@ -308,3 +304,3 @@ endStep(status, stage, details, end) {

attachment(name, content, type) {
const file = this.runtime.writeAttachment(content, type);
const file = this.runtime.writeAttachment(typeof content === 'string' ? stripAnsi(content) : content, type);
this.currentTest.addAttachment(name, type, file);

@@ -311,0 +307,0 @@ }

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