From ec49eff93c1114361dacf7d7a45ba3571d954db6 Mon Sep 17 00:00:00 2001 From: Kiko Beats Date: Mon, 21 Oct 2024 09:55:53 +0200 Subject: [PATCH] test: skip vimeo --- .../metascraper-media-provider/test/fixtures/generate.js | 2 +- packages/metascraper-media-provider/test/video/index.js | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/metascraper-media-provider/test/fixtures/generate.js b/packages/metascraper-media-provider/test/fixtures/generate.js index bd5b965e2..000d78bcd 100644 --- a/packages/metascraper-media-provider/test/fixtures/generate.js +++ b/packages/metascraper-media-provider/test/fixtures/generate.js @@ -4,7 +4,7 @@ const youtubedl = require('youtube-dl-exec') const path = require('path') const fs = require('fs/promises') -const { getFlags } = require('../../src/get-media/provider/generic') +const { getFlags } = require('../../src/get-media') let [, , url, filename] = process.argv diff --git a/packages/metascraper-media-provider/test/video/index.js b/packages/metascraper-media-provider/test/video/index.js index 014e1684f..84e928232 100644 --- a/packages/metascraper-media-provider/test/video/index.js +++ b/packages/metascraper-media-provider/test/video/index.js @@ -9,13 +9,14 @@ const { metascraper } = require('../helpers') const isCI = !!process.env.CI ;[ + // TODO: vimeo is not exposing an HTTP endpoint URL for the video // TODO: uncomment when the issue is resolved // https://github.com/ytdl-org/youtube-dl/issues/29205 // 'https://vimeo.com/channels/staffpicks/287117046', // 'https://vimeo.com/showcase/3717822', - 'https://vimeo.com/443437002' + // 'https://vimeo.com/443437002' ].forEach(url => { - ;(isCI ? test.skip : test)(url, async t => { + test.skip(url, async t => { const metadata = await metascraper({ url }) debug(metadata.video) t.is(extension(metadata.video), 'mp4')