forked from Cutlery/immich
add mock
This commit is contained in:
parent
e6c761894c
commit
7db36ea70d
@ -255,6 +255,8 @@ describe(LibraryService.name, () => {
|
|||||||
|
|
||||||
storageMock.checkFileExists.mockResolvedValue(true);
|
storageMock.checkFileExists.mockResolvedValue(true);
|
||||||
|
|
||||||
|
assetMock.getWith.mockResolvedValue({ items: [], hasNextPage: false });
|
||||||
|
|
||||||
const mockLibraryJob: ILibraryRefreshJob = {
|
const mockLibraryJob: ILibraryRefreshJob = {
|
||||||
id: libraryStub.externalLibraryWithImportPaths1.id,
|
id: libraryStub.externalLibraryWithImportPaths1.id,
|
||||||
refreshModifiedFiles: false,
|
refreshModifiedFiles: false,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user