]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - server/tests/utils/server/stats.ts
Add concept of video state, and add ability to wait transcoding before
[github/Chocobozzz/PeerTube.git] / server / tests / utils / server / stats.ts
CommitLineData
09cababd
C
1import { makeGetRequest } from '../'
2
3function getStats (url: string) {
4 const path = '/api/v1/server/stats'
5
6 return makeGetRequest({
7 url,
8 path,
9 statusCodeExpected: 200
10 })
11}
12
13// ---------------------------------------------------------------------------
14
15export {
16 getStats
17}