mirror of
https://github.com/immich-app/immich.git
synced 2026-03-11 12:47:36 +03:00
fix(server): jobs using stale path (#2233)
* fix(server): jobs using stale path * fixed test * pr feedback
This commit is contained in:
@@ -213,6 +213,10 @@ describe(MediaService.name, () => {
|
||||
});
|
||||
|
||||
describe('handleVideoConversion', () => {
|
||||
beforeEach(() => {
|
||||
assetMock.getByIds.mockResolvedValue([assetEntityStub.video]);
|
||||
});
|
||||
|
||||
it('should log an error', async () => {
|
||||
mediaMock.transcode.mockRejectedValue(new Error('unable to transcode'));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user