aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests')
-rw-r--r--server/tests/api/videos/video-imports.ts9
1 files changed, 7 insertions, 2 deletions
diff --git a/server/tests/api/videos/video-imports.ts b/server/tests/api/videos/video-imports.ts
index cfb188060..bb1627a27 100644
--- a/server/tests/api/videos/video-imports.ts
+++ b/server/tests/api/videos/video-imports.ts
@@ -345,9 +345,14 @@ describe('Test video imports', function () {
345 it('Should import a peertube video', async function () { 345 it('Should import a peertube video', async function () {
346 this.timeout(120_000) 346 this.timeout(120_000)
347 347
348 const toTest = [ FIXTURE_URLS.peertube_long ]
349
348 // TODO: include peertube_short when https://github.com/ytdl-org/youtube-dl/pull/29475 is merged 350 // TODO: include peertube_short when https://github.com/ytdl-org/youtube-dl/pull/29475 is merged
349 for (const targetUrl of [ FIXTURE_URLS.peertube_long ]) { 351 if (mode === 'yt-dlp') {
350 // for (const targetUrl of [ FIXTURE_URLS.peertube_long, FIXTURE_URLS.peertube_short ]) { 352 toTest.push(FIXTURE_URLS.peertube_short)
353 }
354
355 for (const targetUrl of toTest) {
351 await servers[0].config.disableTranscoding() 356 await servers[0].config.disableTranscoding()
352 357
353 const attributes = { 358 const attributes = {