immich/server/libs/domain/test/user-token.repository.mock.ts

11 lines
244 B
TypeScript
Raw Normal View History

import { IUserTokenRepository } from '../src';
export const newUserTokenRepositoryMock = (): jest.Mocked<IUserTokenRepository> => {
return {
create: jest.fn(),
delete: jest.fn(),
deleteAll: jest.fn(),
get: jest.fn(),
};
};