mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
f5e9ca3bbe
This allows the users of 'unleash-server' to programatically change the logger implemnentation. #175
16 lines
388 B
JavaScript
16 lines
388 B
JavaScript
'use strict';
|
|
|
|
const { test } = require('ava');
|
|
const { setupApp } = require('./helpers/test-helper');
|
|
|
|
test('returns health good', async t => {
|
|
t.plan(0);
|
|
const { request, destroy } = await setupApp('health');
|
|
return request
|
|
.get('/health')
|
|
.expect('Content-Type', /json/)
|
|
.expect(200)
|
|
.expect('{"health":"GOOD"}')
|
|
.then(destroy);
|
|
});
|