mirror of
https://github.com/immich-app/immich.git
synced 2024-11-16 10:28:54 -07: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(),
|
|
};
|
|
};
|