immich/server/test/repositories/system-info.repository.mock.ts

8 lines
193 B
TypeScript
Raw Normal View History

import { IServerInfoRepository } from '@app/domain';
export const newServerInfoRepositoryMock = (): jest.Mocked<IServerInfoRepository> => {
return {
getGitHubRelease: jest.fn(),
};
};