diff --git a/server/apps/immich/src/config/asset-upload.config.spec.ts b/server/apps/immich/src/config/asset-upload.config.spec.ts index 07730e0b99..f456bbbc55 100644 --- a/server/apps/immich/src/config/asset-upload.config.spec.ts +++ b/server/apps/immich/src/config/asset-upload.config.spec.ts @@ -66,24 +66,12 @@ describe('assetUploadOption', () => { expect(callback).toHaveBeenCalledWith(null, true); }); - it('should allow .srw unrecognized', () => { - const file = { mimetype: 'application/octet-stream', originalname: 'test.srw' } as any; - fileFilter(mock.userRequest, file, callback); - expect(callback).toHaveBeenCalledWith(null, true); - }); - it('should allow .raf recognized', () => { const file = { mimetype: 'image/x-fuji-raf', originalname: 'test.raf' } as any; fileFilter(mock.userRequest, file, callback); expect(callback).toHaveBeenCalledWith(null, true); }); - it('should allow .raf unrecognized', () => { - const file = { mimetype: 'application/octet-stream', originalname: 'test.raf' } as any; - fileFilter(mock.userRequest, file, callback); - expect(callback).toHaveBeenCalledWith(null, true); - }); - it('should allow .srw recognized', () => { const file = { mimetype: 'image/x-samsung-srw', originalname: 'test.srw' } as any; fileFilter(mock.userRequest, file, callback);