mirror of
https://github.com/immich-app/immich.git
synced 2025-01-01 08:31:59 +00:00
30f499cf2e
update server to use absolute import paths
11 lines
300 B
TypeScript
11 lines
300 B
TypeScript
import { IMediaRepository } from 'src/domain/repositories/media.repository';
|
|
|
|
export const newMediaRepositoryMock = (): jest.Mocked<IMediaRepository> => {
|
|
return {
|
|
generateThumbhash: jest.fn(),
|
|
resize: jest.fn(),
|
|
crop: jest.fn(),
|
|
probe: jest.fn(),
|
|
transcode: jest.fn(),
|
|
};
|
|
};
|