« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-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';