aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/utils/config.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2017-12-28 13:59:22 +0100
committerChocobozzz <me@florianbigard.com>2017-12-28 13:59:22 +0100
commitc5d31dba56d669c0df0209761c43c5a6ac7cec4a (patch)
treefe72b56a1c0e7beb6e092c393a00ddfe93a5d71f /server/tests/utils/config.ts
parentdb799da3d2b2ea465165df78ff71effa653b6309 (diff)
downloadPeerTube-c5d31dba56d669c0df0209761c43c5a6ac7cec4a.tar.gz
PeerTube-c5d31dba56d669c0df0209761c43c5a6ac7cec4a.tar.zst
PeerTube-c5d31dba56d669c0df0209761c43c5a6ac7cec4a.zip
Tests directories refractor
Diffstat (limited to 'server/tests/utils/config.ts')
-rw-r--r--server/tests/utils/config.ts17
1 files changed, 0 insertions, 17 deletions
diff --git a/server/tests/utils/config.ts b/server/tests/utils/config.ts
deleted file mode 100644
index d09c19c60..000000000
--- a/server/tests/utils/config.ts
+++ /dev/null
@@ -1,17 +0,0 @@
1import * as request from 'supertest'
2
3function getConfig (url: string) {
4 const path = '/api/v1/config'
5
6 return request(url)
7 .get(path)
8 .set('Accept', 'application/json')
9 .expect(200)
10 .expect('Content-Type', /json/)
11}
12
13// ---------------------------------------------------------------------------
14
15export {
16 getConfig
17}