mirror of
https://github.com/immich-app/immich.git
synced 2024-11-16 10:28:54 -07:00
50c9bc0336
* chore: jest => vitest * chore: replace jest-when
9 lines
256 B
TypeScript
9 lines
256 B
TypeScript
import { IServerInfoRepository } from 'src/interfaces/server-info.interface';
|
|
import { Mocked, vitest } from 'vitest';
|
|
|
|
export const newServerInfoRepositoryMock = (): Mocked<IServerInfoRepository> => {
|
|
return {
|
|
getGitHubRelease: vitest.fn(),
|
|
};
|
|
};
|