« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/test/snapshot/generateCoverArtwork.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/snapshot/generateCoverArtwork.js')
-rw-r--r--test/snapshot/generateCoverArtwork.js37
1 files changed, 0 insertions, 37 deletions
diff --git a/test/snapshot/generateCoverArtwork.js b/test/snapshot/generateCoverArtwork.js
deleted file mode 100644
index c2a89557..00000000
--- a/test/snapshot/generateCoverArtwork.js
+++ /dev/null
@@ -1,37 +0,0 @@
-import t from 'tap';
-import {testContentFunctions} from '#test-lib';
-
-testContentFunctions(t, 'generateCoverArtwork (snapshot)', async (t, evaluate) => {
-  await evaluate.load({
-    mock: {
-      image: evaluate.stubContentFunction('image', {mock: true}),
-      linkArtistGallery: evaluate.stubContentFunction('linkArtistGallery', {mock: true}),
-    },
-  });
-
-  const artTags = [
-    {name: 'Damara', directory: 'damara', isContentWarning: false},
-    {name: 'Cronus', directory: 'cronus', isContentWarning: false},
-    {name: 'Bees', directory: 'bees', isContentWarning: false},
-    {name: 'creepy crawlies', isContentWarning: true},
-  ];
-
-  const coverArtistContribs = [
-    {artist: {name: 'Circlejourney', directory: 'circlejourney'}},
-    {artist: {name: 'magnoliajades', directory: 'magnoliajades'}},
-  ];
-
-  const path = ['media.albumCover', 'bee-forus-seatbelt-safebee', 'png'];
-
-  const quickSnapshot = (mode) =>
-    evaluate.snapshot(`mode: ${mode}`, {
-      name: 'generateCoverArtwork',
-      args: [artTags, coverArtistContribs],
-      slots: {path, mode},
-    });
-
-  quickSnapshot('primary-tags');
-  quickSnapshot('primary-artists');
-  quickSnapshot('thumbnail');
-  quickSnapshot('commentary');
-});