blob: 0a4cb9cda287f922a0ba2acdb04da03a5735f2cb [file] [log] [blame]
import * as request from 'supertest';
import {bootstrap, bootstrapCluster} from './main';
describe('App', () => {
it(`GET /`, async () => {
const server = await bootstrap(3000);
await request(server.getHttpServer()).get('/hello').expect(200).expect({
message: 'Hello world!'
});
await server.close();
});
});