mirror of
https://github.com/immich-app/immich.git
synced 2024-12-25 10:43:13 +02:00
13 lines
311 B
TypeScript
13 lines
311 B
TypeScript
import { IMediaRepository } from '../src';
|
|
|
|
export const newMediaRepositoryMock = (): jest.Mocked<IMediaRepository> => {
|
|
return {
|
|
extractThumbnailFromExif: jest.fn(),
|
|
extractVideoThumbnail: jest.fn(),
|
|
resize: jest.fn(),
|
|
crop: jest.fn(),
|
|
probe: jest.fn(),
|
|
transcode: jest.fn(),
|
|
};
|
|
};
|