best way to save what you love
Svelte collaborationdownloaderinstagramjavascriptmusicredditsocial-mediasoundcloudsveltetiktoktwittertypescriptvideovimeovkwebappyoutubeyoutube-downloader
api/test: add vk to finnicky services
jj4c006b2291ae
diff --git a/api/src/util/test.js b/api/src/util/test.jsindex efb0f3a5..76eb12c3 100644--- a/api/src/util/test.js+++ b/api/src/util/test.js@@ -13,7 +13,7 @@ const getTests = (service) => loadJSON(getTestPath(service));// services that are known to frequently fail due to external// factors (e.g. rate limiting)-const finnicky = new Set(['bilibili', 'instagram', 'facebook', 'youtube']);+const finnicky = new Set(['bilibili', 'instagram', 'facebook', 'youtube', 'vk']);const runTestsFor = async (service) => {const tests = getTests(service);diff --git a/api/src/util/tests/vk.json b/api/src/util/tests/vk.jsonindex b9b3fb3b..1dc3ca95 100644--- a/api/src/util/tests/vk.json+++ b/api/src/util/tests/vk.json@@ -1,7 +1,6 @@[{"name": "clip, defaults",- "canFail": true,"url": "https://vk.com/clip-57274055_456239788","params": {},"expected": {@@ -11,7 +10,6 @@},{"name": "clip, 360",- "canFail": true,"url": "https://vk.com/clip-57274055_456239788","params": {"videoQuality": "360"@@ -23,7 +21,6 @@},{"name": "clip different link, max",- "canFail": true,"url": "https://vk.com/clips-57274055?z=clip-57274055_456239788","params": {"videoQuality": "max"@@ -35,7 +32,6 @@},{"name": "video, defaults",- "canFail": true,"url": "https://vk.com/video-57274055_456239399","params": {},"expected": {@@ -45,7 +41,6 @@},{"name": "4k video",- "canFail": true,"url": "https://vk.com/video-1112285_456248465","params": {"videoQuality": "max"@@ -57,7 +52,6 @@},{"name": "ancient video (fallback to 240p)",- "canFail": true,"url": "https://vk.com/video-1959_28496479","params": {},"expected": {@@ -74,4 +68,4 @@"status": "error"}}-]\ No newline at end of file+]