mirror of
https://github.com/KevinMidboe/immich.git
synced 2025-10-29 17:40:28 +00:00
Given #2668 introduced support for imagemagick and libraw, this should no longer be necessary which allow for reduced code footprint and complexity. Fixes: #2744
12 lines
275 B
TypeScript
12 lines
275 B
TypeScript
import { IMediaRepository } from '@app/domain';
|
|
|
|
export const newMediaRepositoryMock = (): jest.Mocked<IMediaRepository> => {
|
|
return {
|
|
extractVideoThumbnail: jest.fn(),
|
|
resize: jest.fn(),
|
|
crop: jest.fn(),
|
|
probe: jest.fn(),
|
|
transcode: jest.fn(),
|
|
};
|
|
};
|