« get me outta code hell

content: generateCoverArtwork: displayMode -> mode - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/test
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-06-14 12:45:17 -0300
committer(quasar) nebula <qznebula@protonmail.com>2023-06-14 12:45:17 -0300
commit13c449ccbee3b8cf87ffd8ab546565d5b2f970b7 (patch)
tree01ffa8e00a137b7c4428b05c29f28b272d8b58d0 /test
parent3657d69aeb50092f210943a3a00ff147ec48c633 (diff)
content: generateCoverArtwork: displayMode -> mode
Diffstat (limited to 'test')
-rw-r--r--test/snapshot/generateAlbumCoverArtwork.js4
-rw-r--r--test/snapshot/generateCoverArtwork.js4
-rw-r--r--test/snapshot/generateTrackCoverArtwork.js8
3 files changed, 8 insertions, 8 deletions
diff --git a/test/snapshot/generateAlbumCoverArtwork.js b/test/snapshot/generateAlbumCoverArtwork.js
index 015838c7..150b12bc 100644
--- a/test/snapshot/generateAlbumCoverArtwork.js
+++ b/test/snapshot/generateAlbumCoverArtwork.js
@@ -22,14 +22,14 @@ testContentFunctions(t, 'generateAlbumCoverArtwork (snapshot)', async (t, evalua
   evaluate.snapshot('display: primary', {
     name: 'generateAlbumCoverArtwork',
     args: [album],
-    slots: {displayMode: 'primary'},
+    slots: {mode: 'primary'},
     extraDependencies,
   });
 
   evaluate.snapshot('display: thumbnail', {
     name: 'generateAlbumCoverArtwork',
     args: [album],
-    slots: {displayMode: 'thumbnail'},
+    slots: {mode: 'thumbnail'},
     extraDependencies,
   });
 });
diff --git a/test/snapshot/generateCoverArtwork.js b/test/snapshot/generateCoverArtwork.js
index 7c56f04d..025a6d0d 100644
--- a/test/snapshot/generateCoverArtwork.js
+++ b/test/snapshot/generateCoverArtwork.js
@@ -20,14 +20,14 @@ testContentFunctions(t, 'generateCoverArtwork (snapshot)', async (t, evaluate) =
   evaluate.snapshot('display: primary', {
     name: 'generateCoverArtwork',
     args: [artTags],
-    slots: {path, displayMode: 'primary'},
+    slots: {path, mode: 'primary'},
     extraDependencies,
   });
 
   evaluate.snapshot('display: thumbnail', {
     name: 'generateCoverArtwork',
     args: [artTags],
-    slots: {path, displayMode: 'thumbnail'},
+    slots: {path, mode: 'thumbnail'},
     extraDependencies,
   });
 });
diff --git a/test/snapshot/generateTrackCoverArtwork.js b/test/snapshot/generateTrackCoverArtwork.js
index 88ff75dd..bfefb5fb 100644
--- a/test/snapshot/generateTrackCoverArtwork.js
+++ b/test/snapshot/generateTrackCoverArtwork.js
@@ -36,28 +36,28 @@ testContentFunctions(t, 'generateTrackCoverArtwork (snapshot)', async (t, evalua
   evaluate.snapshot('display: primary - unique art', {
     name: 'generateTrackCoverArtwork',
     args: [track1],
-    slots: {displayMode: 'primary'},
+    slots: {mode: 'primary'},
     extraDependencies,
   });
 
   evaluate.snapshot('display: thumbnail - unique art', {
     name: 'generateTrackCoverArtwork',
     args: [track1],
-    slots: {displayMode: 'thumbnail'},
+    slots: {mode: 'thumbnail'},
     extraDependencies,
   });
 
   evaluate.snapshot('display: primary - no unique art', {
     name: 'generateTrackCoverArtwork',
     args: [track2],
-    slots: {displayMode: 'primary'},
+    slots: {mode: 'primary'},
     extraDependencies,
   });
 
   evaluate.snapshot('display: thumbnail - no unique art', {
     name: 'generateTrackCoverArtwork',
     args: [track2],
-    slots: {displayMode: 'thumbnail'},
+    slots: {mode: 'thumbnail'},
     extraDependencies,
   });
 });