From 8c09427935cd8b857f165b069caa35adf4f40ab6 Mon Sep 17 00:00:00 2001 From: Ramon Wenger Date: Tue, 13 Feb 2024 14:36:54 +0100 Subject: [PATCH] Add missing variable to jest test --- client/tests/unit/srf.spec.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/tests/unit/srf.spec.ts b/client/tests/unit/srf.spec.ts index e5eb0305..ad1b88a1 100644 --- a/client/tests/unit/srf.spec.ts +++ b/client/tests/unit/srf.spec.ts @@ -3,10 +3,11 @@ import { mount } from '@vue/test-utils'; import SrfEmbed from '@/components/videos/SrfEmbed.vue'; const url = 'https://www.srf.ch/play/tv/popupvideoplayer?id=6db02b8b-975c-4e3e-8260-f1e6eca1d8ed'; +const embedUrl = + 'https://www.srf.ch/play/embed?urn=urn:srf:video:6db02b8b-975c-4e3e-8260-f1e6eca1d8ed&subdivisions=false'; describe('SRF Video Embed', () => { it('should return the correct embed url', () => { const videoId = getVideoId(url); - // 'https://www.srf.ch/play/embed?urn=urn:srf:video:6db02b8b-975c-4e3e-8260-f1e6eca1d8ed&subdivisions=false'; const embedId = '6db02b8b-975c-4e3e-8260-f1e6eca1d8ed'; expect(videoId).toBe(embedId); });