1 import * as request from 'supertest'
2 import { URL } from 'url'
4 function getClient (url: string) {
5 const path = '/api/v1/oauth-clients/local'
9 .set('Host', new URL(url).host)
10 .set('Accept', 'application/json')
12 .expect('Content-Type', /json/)
15 // ---------------------------------------------------------------------------