mirror of
https://github.com/immich-app/immich.git
synced 2024-11-17 10:58:53 -07: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(),
|
|
};
|
|
};
|