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