aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/benchmark.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-10-14 08:30:17 +0200
committerChocobozzz <me@florianbigard.com>2021-10-14 08:30:17 +0200
commit87c0f718dc91514eb3674eda61a5ef6facef55ac (patch)
treedde4699471237b2bd522519ef04f8341db3ff00f /scripts/benchmark.ts
parent1cf0df024e58432da39fe2d1b317fb5c9ab8bd2e (diff)
downloadPeerTube-87c0f718dc91514eb3674eda61a5ef6facef55ac.tar.gz
PeerTube-87c0f718dc91514eb3674eda61a5ef6facef55ac.tar.zst
PeerTube-87c0f718dc91514eb3674eda61a5ef6facef55ac.zip
Fix benchmark test
Diffstat (limited to 'scripts/benchmark.ts')
-rw-r--r--scripts/benchmark.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/benchmark.ts b/scripts/benchmark.ts
index c29b9abcd..007e3c33b 100644
--- a/scripts/benchmark.ts
+++ b/scripts/benchmark.ts
@@ -135,7 +135,7 @@ async function run () {
135 title: 'API - config', 135 title: 'API - config',
136 path: '/api/v1/config', 136 path: '/api/v1/config',
137 expecter: (body, status) => { 137 expecter: (body, status) => {
138 return status === 200 && body.startsWith('{"instance":') 138 return status === 200 && body.startsWith('{"allowEdits":')
139 } 139 }
140 } 140 }
141 ] 141 ]