mirror of
https://github.com/immich-app/immich.git
synced 2025-12-24 09:14:58 +03:00
test: add mock for plain read
This commit is contained in:
@@ -48,6 +48,7 @@ export const newStorageRepositoryMock = (): Mocked<RepositoryInterface<StorageRe
|
||||
|
||||
return {
|
||||
createZipStream: vitest.fn(),
|
||||
createPlainReadStream: vitest.fn(),
|
||||
createReadStream: vitest.fn(),
|
||||
readFile: vitest.fn(),
|
||||
readTextFile: vitest.fn(),
|
||||
|
||||
Reference in New Issue
Block a user