aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/extra-utils/videos
diff options
context:
space:
mode:
Diffstat (limited to 'shared/extra-utils/videos')
-rw-r--r--shared/extra-utils/videos/videos.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/shared/extra-utils/videos/videos.ts b/shared/extra-utils/videos/videos.ts
index e88256ac0..98a568a02 100644
--- a/shared/extra-utils/videos/videos.ts
+++ b/shared/extra-utils/videos/videos.ts
@@ -774,9 +774,11 @@ async function completeVideoCheck (
774 expect(torrent.files[0].path).to.exist.and.to.not.equal('') 774 expect(torrent.files[0].path).to.exist.and.to.not.equal('')
775 } 775 }
776 776
777 expect(videoDetails.thumbnailPath).to.exist
777 await testImage(url, attributes.thumbnailfile || attributes.fixture, videoDetails.thumbnailPath) 778 await testImage(url, attributes.thumbnailfile || attributes.fixture, videoDetails.thumbnailPath)
778 779
779 if (attributes.previewfile) { 780 if (attributes.previewfile) {
781 expect(videoDetails.previewPath).to.exist
780 await testImage(url, attributes.previewfile, videoDetails.previewPath) 782 await testImage(url, attributes.previewfile, videoDetails.previewPath)
781 } 783 }
782} 784}