jest-allure2-adapter
Advanced tools
Comparing version 0.2.48 to 0.2.49
@@ -107,3 +107,7 @@ "use strict"; | ||
getAttachFile(content, type) { | ||
return this.runtime.writeAttachment(stripAnsi(content), type); | ||
const stripped = content | ||
.split('\n') | ||
.map((p) => stripAnsi(p)) | ||
.join('\n'); | ||
return this.runtime.writeAttachment(stripped, type); | ||
} | ||
@@ -110,0 +114,0 @@ endStep(status, stage, details, end) { |
{ | ||
"name": "jest-allure2-adapter", | ||
"version": "0.2.48", | ||
"version": "0.2.49", | ||
"description": "Allure 2 Adapter for jest", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index", |
231341
5837