1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-01-06 03:46:47 +01:00
immich/server/test/repositories/user-token.repository.mock.ts
2024-03-21 06:59:49 -05:00

11 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(),
};
};