mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-12-05 01:10:36 +00:00
Fix benchmark script
This commit is contained in:
@@ -107,7 +107,7 @@ async function run () {
|
|||||||
title: 'API - videos list without count*',
|
title: 'API - videos list without count*',
|
||||||
path: '/api/v1/videos?skipCount=true',
|
path: '/api/v1/videos?skipCount=true',
|
||||||
expecter: (body, status) => {
|
expecter: (body, status) => {
|
||||||
return status === 200 && body.startsWith('{"total":10')
|
return status === 200 && body.startsWith('{"data":[{"')
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user