mirror of
https://github.com/imputnet/cobalt.git
synced 2024-12-28 02:26:10 +00:00
api/test: add vk to finnicky services
This commit is contained in:
parent
cf40f0542f
commit
4c006b2291
|
@ -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);
|
||||
|
|
|
@ -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": {
|
||||
|
|
Loading…
Reference in a new issue