mirror of
https://github.com/samsonjs/immich.git
synced 2026-04-27 15:07:45 +00:00
11 lines
308 B
TypeScript
11 lines
308 B
TypeScript
import { IUserTokenRepository } from 'src/domain/repositories/user-token.repository';
|
|
|
|
export const newUserTokenRepositoryMock = (): jest.Mocked<IUserTokenRepository> => {
|
|
return {
|
|
create: jest.fn(),
|
|
save: jest.fn(),
|
|
delete: jest.fn(),
|
|
getByToken: jest.fn(),
|
|
getAll: jest.fn(),
|
|
};
|
|
};
|