mirror of
https://github.com/immich-app/immich.git
synced 2025-01-04 02:46:47 +01:00
50c9bc0336
* chore: jest => vitest * chore: replace jest-when
8 lines
256 B
TypeScript
8 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(),
|
|
};
|
|
};
|