multiple-cucumber-html-reporter
Advanced tools
Comparing version 3.6.0 to 3.6.1
@@ -409,3 +409,13 @@ 'use strict'; | ||
step.attachments = []; | ||
step.embeddings.forEach((embedding, embeddingIndex) => { | ||
/* Decode Base64 for Text-ish attachements */ | ||
if( | ||
embedding.mime_type === 'application/json' || | ||
embedding.mime_type === 'text/html' || | ||
embedding.mime_type === 'text/plain' | ||
) { | ||
embedding.data = Buffer.from(embedding.data.toString(), 'base64') | ||
} | ||
/* istanbul ignore else */ | ||
@@ -412,0 +422,0 @@ if ( |
{ | ||
"name": "multiple-cucumber-html-reporter", | ||
"version": "3.6.0", | ||
"version": "3.6.1", | ||
"description": "Generate beautiful Cucumber.js reports for multiple instances (browsers / devices)", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
2600874
18828