From 7448551fe5c111fcc7b7448ad864fb15a5c8d87f Mon Sep 17 00:00:00 2001
From: Chocobozzz <me@florianbigard.com>
Date: Mon, 1 Feb 2021 11:18:50 +0100
Subject: Fix redundancy with HLS only files

---
 shared/extra-utils/videos/videos.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'shared')

diff --git a/shared/extra-utils/videos/videos.ts b/shared/extra-utils/videos/videos.ts
index 110552c77..f94fa233c 100644
--- a/shared/extra-utils/videos/videos.ts
+++ b/shared/extra-utils/videos/videos.ts
@@ -338,7 +338,7 @@ async function checkVideoFilesWereRemoved (
 
     const files = await readdir(directoryPath)
     for (const file of files) {
-      expect(file).to.not.contain(videoUUID)
+      expect(file, `File ${file} should not exist in ${directoryPath}`).to.not.contain(videoUUID)
     }
   }
 }
-- 
cgit v1.2.3