mirror of
https://github.com/immich-app/immich.git
synced 2025-01-06 03:46:47 +01:00
b588a87d4a
rename domain repositories
11 lines
298 B
TypeScript
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(),
|
|
};
|
|
};
|