diff --git a/src/html.js b/src/html.js index adb6de5..27b9fe2 100644 --- a/src/html.js +++ b/src/html.js @@ -79,9 +79,9 @@ const addBody = ({ url, headers, html }) => { if (isMime(contentType, 'image')) { element = `` } else if (isMime(contentType, 'video')) { - element = `` + element = `` } else if (isMime(contentType, 'audio')) { - element = `` + element = `` } else if (mimeExtension(contentType) === 'json') { element = `
${html}` } diff --git a/test/html/snapshots/index.js.md b/test/html/snapshots/index.js.md index ab5c75e..c1df5b5 100644 --- a/test/html/snapshots/index.js.md +++ b/test/html/snapshots/index.js.md @@ -89,7 +89,9 @@ Generated by [AVA](https://avajs.dev). ␊ ␊ ␊ - ␊ + ␊