8ebac41318
* refactor(server): tsconfigs * chore: dummy commit * fix: start.sh * chore: restore original entry scripts
12 lines
283 B
TypeScript
12 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(),
|
|
};
|
|
};
|