2 import * as request from 'supertest'
7 } from '../../../../shared/utils'
8 import { runServer } from '../../../../shared/utils/server/servers'
10 describe('Start and stop server without web client routes', function () {
11 let server: ServerInfo
13 before(async function () {
18 server = await runServer(1, {}, ['--no-client'])
21 it('Should fail getting the client', function () {
22 const req = request(server.url)
25 return req.expect(404)
28 after(async function () {
29 killallServers([ server ])
31 // Keep the logs if the test failed