diff --git a/worker/__tests__/processor.test.ts b/worker/__tests__/processor.test.ts index 968889c..57ec5f2 100644 --- a/worker/__tests__/processor.test.ts +++ b/worker/__tests__/processor.test.ts @@ -12,6 +12,7 @@ jest.mock('@/lib/prisma', () => ({ jest.mock('@/lib/token') jest.mock('child_process') jest.mock('fs', () => ({ + existsSync: jest.fn(() => false), readdirSync: jest.fn(() => ['uuid-abc.mp4']), statSync: jest.fn(() => ({ size: 1024 })), }))