From df9a6c6f36f166c18e9771fb4ed60d34e88de44e Mon Sep 17 00:00:00 2001 From: Mathis HERRIOT <197931332+0x485254@users.noreply.github.com> Date: Wed, 28 Jan 2026 14:59:40 +0100 Subject: [PATCH] refactor: update test mocks to use `addOutputOptions` for consistency - Replaced `outputOptions` with `addOutputOptions` in media service spec test to align with updated FFmpeg strategy. --- backend/src/media/media.service.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/media/media.service.spec.ts b/backend/src/media/media.service.spec.ts index 807d0d2..cfc48cb 100644 --- a/backend/src/media/media.service.spec.ts +++ b/backend/src/media/media.service.spec.ts @@ -75,7 +75,7 @@ describe("MediaService", () => { toFormat: jest.fn().mockReturnThis(), videoCodec: jest.fn().mockReturnThis(), audioCodec: jest.fn().mockReturnThis(), - outputOptions: jest.fn().mockReturnThis(), + addOutputOptions: jest.fn().mockReturnThis(), on: jest.fn().mockImplementation(function (event, cb) { if (event === "end") setTimeout(cb, 0); return this;