2 import * as request from 'supertest'
7 } from '../../../../shared/extra-utils'
8 import { flushAndRunServer } from '../../../../shared/extra-utils/server/servers'
10 describe('Start and stop server without web client routes', function () {
11 let server: ServerInfo
13 before(async function () {
16 server = await flushAndRunServer(1, {}, ['--no-client'])
19 it('Should fail getting the client', function () {
20 const req = request(server.url)
23 return req.expect(404)
27 killallServers([ server ])