84f7ca855a
move domain interfaces
11 lines
276 B
TypeScript
11 lines
276 B
TypeScript
import { IActivityRepository } from 'src/interfaces/activity.repository';
|
|
|
|
export const newActivityRepositoryMock = (): jest.Mocked<IActivityRepository> => {
|
|
return {
|
|
search: jest.fn(),
|
|
create: jest.fn(),
|
|
delete: jest.fn(),
|
|
getStatistics: jest.fn(),
|
|
};
|
|
};
|