mirror of
https://github.com/immich-app/immich.git
synced 2025-03-31 13:19:38 +02:00

* refactor(server): tsconfigs * chore: dummy commit * fix: start.sh * chore: restore original entry scripts
12 lines
316 B
TypeScript
12 lines
316 B
TypeScript
import { IMediaRepository } from '@app/domain';
|
|
|
|
export const newMediaRepositoryMock = (): jest.Mocked<IMediaRepository> => {
|
|
return {
|
|
extractThumbnailFromExif: jest.fn(),
|
|
extractVideoThumbnail: jest.fn(),
|
|
resize: jest.fn(),
|
|
crop: jest.fn(),
|
|
probe: jest.fn(),
|
|
transcode: jest.fn(),
|
|
};
|
|
};
|