mirror of
https://github.com/Art051/immich.git
synced 2025-08-11 19:29:00 +00:00
12 lines
298 B
TypeScript
12 lines
298 B
TypeScript
import { IUserTokenRepository } from 'src/interfaces/user-token.interface';
|
|
|
|
export const newUserTokenRepositoryMock = (): jest.Mocked<IUserTokenRepository> => {
|
|
return {
|
|
create: jest.fn(),
|
|
save: jest.fn(),
|
|
delete: jest.fn(),
|
|
getByToken: jest.fn(),
|
|
getAll: jest.fn(),
|
|
};
|
|
};
|