mirror of
https://github.com/immich-app/immich.git
synced 2024-12-25 10:43:13 +02:00
6745826f35
* refactor(server): media service * merge main --------- Co-authored-by: Alex Tran <alex.tran1502@gmail.com>
10 lines
242 B
TypeScript
10 lines
242 B
TypeScript
import { IMediaRepository } from '../src';
|
|
|
|
export const newMediaRepositoryMock = (): jest.Mocked<IMediaRepository> => {
|
|
return {
|
|
extractThumbnailFromExif: jest.fn(),
|
|
extractVideoThumbnail: jest.fn(),
|
|
resize: jest.fn(),
|
|
};
|
|
};
|