diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2023-09-24 10:01:14 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2023-09-24 10:01:14 -0300 |
commit | 243af63c1ca36343f780b6e95b05493ff03ca68b (patch) | |
tree | d24c5717167250ff6ac350dc83bf1b03eed40a32 /tap-snapshots/test/snapshot | |
parent | a53d53e1f95d84b23cffb9a5d43f1a70a412b6fe (diff) |
test: image: supply & test missingImagePaths
Diffstat (limited to 'tap-snapshots/test/snapshot')
-rw-r--r-- | tap-snapshots/test/snapshot/image.js.test.cjs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tap-snapshots/test/snapshot/image.js.test.cjs b/tap-snapshots/test/snapshot/image.js.test.cjs index d87ab714..3cd1a317 100644 --- a/tap-snapshots/test/snapshot/image.js.test.cjs +++ b/tap-snapshots/test/snapshot/image.js.test.cjs @@ -39,6 +39,14 @@ exports[`test/snapshot/image.js TAP image (snapshot) > link with file size 1`] = <a class="box image-link" href="media/album-art/pingas/cover.png"><div class="image-container"><div class="image-inner-area"><img src="media/album-art/pingas/cover.png"></div></div></a> ` +exports[`test/snapshot/image.js TAP image (snapshot) > missing image path 1`] = ` +<div class="image-container"><div class="image-inner-area"><div class="image-text-area">(This image file is missing)</div></div></div> +` + +exports[`test/snapshot/image.js TAP image (snapshot) > missing image path w/ missingSourceContent 1`] = ` +<div class="image-container"><div class="image-inner-area"><div class="image-text-area">Cover's missing, whoops</div></div></div> +` + exports[`test/snapshot/image.js TAP image (snapshot) > source missing 1`] = ` <div class="image-container placeholder-image"><div class="image-inner-area"><div class="image-text-area">Example of missing source message.</div></div></div> ` |