test(cctv): reproduce default finite-video loop state

This commit is contained in:
Bilawal Sidhu committed 2026-09-15 11:30:23 -05:00
1 parent 2bf2742ca0
commit 694e062ad4
1 file changed
+1 -1
+1 -1
View File
@@ -72,7 +72,7 @@ test('native HLS releases its client lease without response-header access', asyn
test('finite video feeds retain looping while live HLS does not loop', async () => {
for (const feedType of ['mp4', 'webm', 'hls']) {
const source = video();
source.loop = true;
source.loop = feedType === 'hls';
source.canPlayType = () => 'probably';
let imports = 0;
const playback = attachCctvVideo(source, '/api/cctv/media/a', feedType, {