mirror of
https://github.com/immich-app/immich.git
synced 2024-12-14 12:00:55 +02:00
8ebac41318
* refactor(server): tsconfigs * chore: dummy commit * fix: start.sh * chore: restore original entry scripts
12 lines
274 B
TypeScript
12 lines
274 B
TypeScript
import { IUserTokenRepository } from '@app/domain';
|
|
|
|
export const newUserTokenRepositoryMock = (): jest.Mocked<IUserTokenRepository> => {
|
|
return {
|
|
create: jest.fn(),
|
|
save: jest.fn(),
|
|
delete: jest.fn(),
|
|
getByToken: jest.fn(),
|
|
getAll: jest.fn(),
|
|
};
|
|
};
|