mirror of
https://github.com/immich-app/immich.git
synced 2024-12-27 10:58:13 +02:00
12 lines
269 B
TypeScript
12 lines
269 B
TypeScript
import { IUserTokenRepository } from '../src';
|
|
|
|
export const newUserTokenRepositoryMock = (): jest.Mocked<IUserTokenRepository> => {
|
|
return {
|
|
create: jest.fn(),
|
|
save: jest.fn(),
|
|
delete: jest.fn(),
|
|
getByToken: jest.fn(),
|
|
getAll: jest.fn(),
|
|
};
|
|
};
|