« get me outta code hell

test: update generateAlbumAdditionalFilesList (snapshot) - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/test/snapshot/generateAlbumAdditionalFilesList.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-04-04 11:56:21 -0300
committer(quasar) nebula <qznebula@protonmail.com>2024-04-04 11:56:21 -0300
commit10485c6dda37017f0a82ba7f2f52ecd5b59df091 (patch)
tree16d77de4c3d8a0ad8a40f3c7a6e8fc8da24796c7 /test/snapshot/generateAlbumAdditionalFilesList.js
parenta3859afacb0054b30752d5eec802cdd558ac93b7 (diff)
test: update generateAlbumAdditionalFilesList (snapshot)
Diffstat (limited to 'test/snapshot/generateAlbumAdditionalFilesList.js')
-rw-r--r--test/snapshot/generateAlbumAdditionalFilesList.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/snapshot/generateAlbumAdditionalFilesList.js b/test/snapshot/generateAlbumAdditionalFilesList.js
index 70a5c0d2..c25e5682 100644
--- a/test/snapshot/generateAlbumAdditionalFilesList.js
+++ b/test/snapshot/generateAlbumAdditionalFilesList.js
@@ -23,7 +23,11 @@ testContentFunctions(t, 'generateAlbumAdditionalFilesList (snapshot)', async (t,
         ?.at(1) ?? null,
   };
 
-  await evaluate.load();
+  await evaluate.load({
+    mock: {
+      image: evaluate.stubContentFunction('image'),
+    },
+  });
 
   const album = new Album();
   album.directory = 'exciting-album';