mirror of
https://github.com/immich-app/immich.git
synced 2024-12-10 11:40:53 +02:00
b588a87d4a
rename domain repositories
13 lines
304 B
TypeScript
13 lines
304 B
TypeScript
import { IKeyRepository } from 'src/interfaces/api-key.interface';
|
|
|
|
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(),
|
|
};
|
|
};
|