mirror of
https://github.com/immich-app/immich.git
synced 2024-12-23 02:06:15 +02:00
8ebac41318
* refactor(server): tsconfigs * chore: dummy commit * fix: start.sh * chore: restore original entry scripts
13 lines
283 B
TypeScript
13 lines
283 B
TypeScript
import { IKeyRepository } from '@app/domain';
|
|
|
|
export const newKeyRepositoryMock = (): jest.Mocked<IKeyRepository> => {
|
|
return {
|
|
create: jest.fn(),
|
|
update: jest.fn(),
|
|
delete: jest.fn(),
|
|
getKey: jest.fn(),
|
|
getById: jest.fn(),
|
|
getByUserId: jest.fn(),
|
|
};
|
|
};
|