From 8069865a16a0dc4c2e1bbab1e0c1c11e45658d7b Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sun, 17 Nov 2024 15:59:44 -0400 Subject: test: update generateCoverArtwork (snapshot) --- .../test/snapshot/generateCoverArtwork.js.test.cjs | 39 ++++++++++++++++++++-- 1 file changed, 36 insertions(+), 3 deletions(-) (limited to 'tap-snapshots/test/snapshot') diff --git a/tap-snapshots/test/snapshot/generateCoverArtwork.js.test.cjs b/tap-snapshots/test/snapshot/generateCoverArtwork.js.test.cjs index f16923d0..e080afaa 100644 --- a/tap-snapshots/test/snapshot/generateCoverArtwork.js.test.cjs +++ b/tap-snapshots/test/snapshot/generateCoverArtwork.js.test.cjs @@ -5,7 +5,40 @@ * Make sure to inspect the output below. Do not ignore changes! */ 'use strict' -exports[`test/snapshot/generateCoverArtwork.js > TAP > generateCoverArtwork (snapshot) > display: primary 1`] = ` +exports[`test/snapshot/generateCoverArtwork.js > TAP > generateCoverArtwork (snapshot) > mode: commentary 1`] = ` +[mocked: image + args: [ + [ + { name: 'Damara', directory: 'damara', isContentWarning: false }, + { name: 'Cronus', directory: 'cronus', isContentWarning: false }, + { name: 'Bees', directory: 'bees', isContentWarning: false }, + { name: 'creepy crawlies', isContentWarning: true } + ] + ] + slots: { path: [ 'media.albumCover', 'bee-forus-seatbelt-safebee', 'png' ], thumb: 'medium', reveal: true, link: true, lazy: true, square: true, attributes: { class: 'commentary-art' } }] +` + +exports[`test/snapshot/generateCoverArtwork.js > TAP > generateCoverArtwork (snapshot) > mode: primary-artists 1`] = ` +[mocked: image + args: [ + [ + { name: 'Damara', directory: 'damara', isContentWarning: false }, + { name: 'Cronus', directory: 'cronus', isContentWarning: false }, + { name: 'Bees', directory: 'bees', isContentWarning: false }, + { name: 'creepy crawlies', isContentWarning: true } + ] + ] + slots: { path: [ 'media.albumCover', 'bee-forus-seatbelt-safebee', 'png' ], thumb: 'medium', reveal: true, link: true, square: true }] +

+ Artwork by [mocked: linkArtistGallery + args: [ { name: 'Circlejourney', directory: 'circlejourney' } ] + slots: {}] and [mocked: linkArtistGallery + args: [ { name: 'magnoliajades', directory: 'magnoliajades' } ] + slots: {}] +

+` + +exports[`test/snapshot/generateCoverArtwork.js > TAP > generateCoverArtwork (snapshot) > mode: primary-tags 1`] = ` [mocked: image args: [ [ @@ -16,14 +49,14 @@ exports[`test/snapshot/generateCoverArtwork.js > TAP > generateCoverArtwork (sna ] ] slots: { path: [ 'media.albumCover', 'bee-forus-seatbelt-safebee', 'png' ], thumb: 'medium', reveal: true, link: true, square: true }] -