mirror of
https://github.com/immich-app/immich.git
synced 2024-11-28 09:33:27 +02:00
8a445cac07
feat: build metadata
10 lines
291 B
TypeScript
10 lines
291 B
TypeScript
import { IServerInfoRepository } from 'src/interfaces/server-info.interface';
|
|
import { Mocked, vitest } from 'vitest';
|
|
|
|
export const newServerInfoRepositoryMock = (): Mocked<IServerInfoRepository> => {
|
|
return {
|
|
getGitHubRelease: vitest.fn(),
|
|
getBuildVersions: vitest.fn(),
|
|
};
|
|
};
|