« 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
diff options
context:
space:
mode:
Diffstat (limited to 'test/snapshot')
-rw-r--r--test/snapshot/image.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/snapshot/image.js b/test/snapshot/image.js
index a8796e1..48dcfb6 100644
--- a/test/snapshot/image.js
+++ b/test/snapshot/image.js
@@ -9,6 +9,10 @@ testContentFunctions(t, 'image (snapshot)', async (t, evaluate) => {
       name: 'image',
       extraDependencies: {
         getSizeOfImagePath: () => 0,
+        getDimensionsOfImagePath: () => [600, 600],
+        getThumbnailEqualOrSmaller: () => 'medium',
+        getThumbnailsAvailableForDimensions: () =>
+          [['large', 800], ['medium', 400], ['small', 250]],
       },
       ...opts,
     });