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