mirror of
https://github.com/immich-app/immich.git
synced 2024-12-28 22:51:59 +00:00
8a445cac07
feat: build metadata
9 lines
291 B
TypeScript
9 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(),
|
|
};
|
|
};
|