mirror of
https://github.com/immich-app/immich.git
synced 2025-01-06 03:46:47 +01:00
84f7ca855a
move domain interfaces
12 lines
305 B
TypeScript
12 lines
305 B
TypeScript
import { IKeyRepository } from 'src/interfaces/api-key.repository';
|
|
|
|
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(),
|
|
};
|
|
};
|