]>
git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - server/tests/utils/clients.js
3 const request
= require('supertest')
9 // ---------------------- Export functions --------------------
11 function getClient (url
, end
) {
12 const path
= '/api/v1/clients/local'
16 .set('Accept', 'application/json')
18 .expect('Content-Type', /json/)
22 // ---------------------------------------------------------------------------
24 module
.exports
= clientsUtils