From 8dd2a2fd71fe0e1643201aff87acda8bbcc41295 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Mon, 21 Aug 2023 09:37:17 -0300 Subject: test: move thumb-related utilities into image.js snapshot --- test/snapshot/image.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/snapshot') diff --git a/test/snapshot/image.js b/test/snapshot/image.js index a8796e11..48dcfb69 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, }); -- cgit 1.3.0-6-gf8a5