chore(cli): updating endpoint for test

This commit is contained in:
Ben Lambert
2020-07-23 12:02:33 +02:00
committed by GitHub
parent f6296c078f
commit 7197ceba04
@@ -34,9 +34,9 @@ describe('createRouter', () => {
jest.resetAllMocks();
});
describe('GET /ping', () => {
describe('GET /health', () => {
it('returns ok', async () => {
const response = await request(app).get('/ping');
const response = await request(app).get('/health');
expect(response.status).toEqual(200);
expect(response.body).toEqual({ status: 'ok' });