refactor: update test mocks to use addOutputOptions for consistency

- Replaced `outputOptions` with `addOutputOptions` in media service spec test to align with updated FFmpeg strategy.
This commit is contained in:
Mathis HERRIOT
2026-01-28 14:59:40 +01:00
parent 15426a9e18
commit df9a6c6f36

View File

@@ -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;