diff --git a/src/service/extraction.test.ts b/src/service/extraction.test.ts index 28adec3..0c3160a 100644 --- a/src/service/extraction.test.ts +++ b/src/service/extraction.test.ts @@ -21,7 +21,7 @@ mock.module('./ai', () => ({ })) // Create a spy for the extract method to verify dimensions -const extractMock = mock((options: any) => ({ +const extractMock = mock(() => ({ toBuffer: () => Promise.resolve(Buffer.from('mockCrop')), }))