mirror of
https://github.com/immich-app/immich.git
synced 2026-05-18 03:10:24 +03:00
fix test
This commit is contained in:
@@ -304,6 +304,7 @@ describe(HlsService.name, () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it('throws NotFoundException when the session does not exist', async () => {
|
it('throws NotFoundException when the session does not exist', async () => {
|
||||||
|
mocks.videoStream.getSession.mockReset();
|
||||||
await expect(sut.getSegment(auth, assetId, sessionId, variantIndex, 'init.mp4')).rejects.toBeInstanceOf(
|
await expect(sut.getSegment(auth, assetId, sessionId, variantIndex, 'init.mp4')).rejects.toBeInstanceOf(
|
||||||
NotFoundException,
|
NotFoundException,
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user