From c5d31dba56d669c0df0209761c43c5a6ac7cec4a Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 28 Dec 2017 13:59:22 +0100 Subject: Tests directories refractor --- server/tests/utils/config.ts | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 server/tests/utils/config.ts (limited to 'server/tests/utils/config.ts') 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 @@ -import * as request from 'supertest' - -function getConfig (url: string) { - const path = '/api/v1/config' - - return request(url) - .get(path) - .set('Accept', 'application/json') - .expect(200) - .expect('Content-Type', /json/) -} - -// --------------------------------------------------------------------------- - -export { - getConfig -} -- cgit v1.2.3