mirror of
https://github.com/immich-app/immich.git
synced 2025-03-01 15:11:21 +01:00
10 lines
277 B
TypeScript
10 lines
277 B
TypeScript
![]() |
import { ISystemConfigRepository } from '../src';
|
||
|
|
||
|
export const newSystemConfigRepositoryMock = (): jest.Mocked<ISystemConfigRepository> => {
|
||
|
return {
|
||
|
load: jest.fn().mockResolvedValue([]),
|
||
|
saveAll: jest.fn().mockResolvedValue([]),
|
||
|
deleteKeys: jest.fn(),
|
||
|
};
|
||
|
};
|