chore: create strapi mock for test

This commit is contained in:
Laurens Kling 2025-06-05 19:01:00 +02:00
parent 7de63df3ae
commit 9c04fd0da8

View File

@ -1,4 +1,5 @@
import createUploadService from '../../upload';
import imageManipulation from '../../image-manipulation';
const uploadService = createUploadService({} as any);
@ -8,6 +9,7 @@ describe('Upload service', () => {
plugins: {
upload: {
services: {
'image-manipulation': imageManipulation,
file: {
getFolderPath: () => '/a-folder-path',
},