mirror of
https://github.com/immich-app/immich.git
synced 2024-11-17 19:08:49 -07:00
13 lines
278 B
TypeScript
13 lines
278 B
TypeScript
|
import { IKeyRepository } from '../src';
|
||
|
|
||
|
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(),
|
||
|
};
|
||
|
};
|