fix: reload assets from typesense results (#2615)

* fix: reload assets from typesense results

* chore: coverage
This commit is contained in:
Jason Rasmussen
2023-05-30 13:55:06 -04:00
committed by GitHub
parent 6538e599dd
commit 2dfd56b49b
3 changed files with 34 additions and 5 deletions

View File

@@ -2,7 +2,7 @@ import { IAssetRepository } from '../src';
export const newAssetRepositoryMock = (): jest.Mocked<IAssetRepository> => {
return {
getByIds: jest.fn(),
getByIds: jest.fn().mockResolvedValue([]),
getWithout: jest.fn(),
getWith: jest.fn(),
getFirstAssetForAlbumId: jest.fn(),