mirror of
https://github.com/immich-app/immich.git
synced 2026-03-29 13:38:09 +03:00
fix mock
This commit is contained in:
@@ -14,7 +14,6 @@ export const newDatabaseRepositoryMock = (): jest.Mocked<IDatabaseRepository> =>
|
||||
runMigrations: jest.fn(),
|
||||
withLock: jest.fn().mockImplementation((_, function_: <R>() => Promise<R>) => function_()),
|
||||
tryLock: jest.fn(),
|
||||
releaseLock: jest.fn(),
|
||||
isBusy: jest.fn(),
|
||||
wait: jest.fn(),
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user