« get me outta code hell

test: move thumb-related utilities into image.js snapshot - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/test/lib
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-08-21 09:37:17 -0300
committer(quasar) nebula <qznebula@protonmail.com>2023-09-01 14:06:16 -0300
commit8dd2a2fd71fe0e1643201aff87acda8bbcc41295 (patch)
treed952370b6ba4fbda38de7f2f8afc9971b563ff88 /test/lib
parent145a4a292dea7dccb2bb9b58a760db32948c3918 (diff)
test: move thumb-related utilities into image.js snapshot
Diffstat (limited to 'test/lib')
-rw-r--r--test/lib/content-function.js7
1 files changed, 0 insertions, 7 deletions
diff --git a/test/lib/content-function.js b/test/lib/content-function.js
index cd86e9b..bb12be8 100644
--- a/test/lib/content-function.js
+++ b/test/lib/content-function.js
@@ -49,15 +49,8 @@ export function testContentFunctions(t, message, fn) {
             thumb,
             to,
             urls,
-
             appendIndexHTML: false,
-
             getColors: c => getColors(c, {chroma}),
-            getDimensionsOfImagePath: () => [600, 600],
-            getThumbnailEqualOrSmaller: () => 'medium',
-            getThumbnailsAvailableForDimensions: () =>
-              [['large', 800], ['medium', 400], ['small', 250]],
-
             ...extraDependencies,
           },
         });