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/clients.ts | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 server/tests/utils/clients.ts (limited to 'server/tests/utils/clients.ts') diff --git a/server/tests/utils/clients.ts b/server/tests/utils/clients.ts deleted file mode 100644 index a8c5b51c5..000000000 --- a/server/tests/utils/clients.ts +++ /dev/null @@ -1,17 +0,0 @@ -import * as request from 'supertest' - -function getClient (url: string) { - const path = '/api/v1/oauth-clients/local' - - return request(url) - .get(path) - .set('Accept', 'application/json') - .expect(200) - .expect('Content-Type', /json/) -} - -// --------------------------------------------------------------------------- - -export { - getClient -} -- cgit v1.2.3