mirror of
https://github.com/immich-app/immich.git
synced 2024-12-23 02:06:15 +02:00
b588a87d4a
rename domain repositories
12 lines
290 B
TypeScript
12 lines
290 B
TypeScript
import { IMediaRepository } from 'src/interfaces/media.interface';
|
|
|
|
export const newMediaRepositoryMock = (): jest.Mocked<IMediaRepository> => {
|
|
return {
|
|
generateThumbhash: jest.fn(),
|
|
resize: jest.fn(),
|
|
crop: jest.fn(),
|
|
probe: jest.fn(),
|
|
transcode: jest.fn(),
|
|
};
|
|
};
|