mirror of
https://github.com/immich-app/immich.git
synced 2025-01-07 20:36:48 +01:00
30f499cf2e
update server to use absolute import paths
11 lines
308 B
TypeScript
11 lines
308 B
TypeScript
import { IUserTokenRepository } from 'src/domain/repositories/user-token.repository';
|
|
|
|
export const newUserTokenRepositoryMock = (): jest.Mocked<IUserTokenRepository> => {
|
|
return {
|
|
create: jest.fn(),
|
|
save: jest.fn(),
|
|
delete: jest.fn(),
|
|
getByToken: jest.fn(),
|
|
getAll: jest.fn(),
|
|
};
|
|
};
|