mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
refactor: test utils (#16588)
This commit is contained in:
parent
1423cfd53c
commit
63c01b78e2
8 changed files with 245 additions and 216 deletions
|
|
@ -34,7 +34,7 @@ describe(MetadataService.name, () => {
|
|||
let mocks: ServiceMocks;
|
||||
|
||||
beforeEach(() => {
|
||||
({ sut, mocks } = newTestService(MetadataService, { metadataRepository }));
|
||||
({ sut, mocks } = newTestService(MetadataService, { metadata: metadataRepository }));
|
||||
|
||||
mocks.storage.stat.mockResolvedValue({ size: 123_456 } as Stats);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue