mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-28 00:06:53 +01:00
f01ef69d7e
* #108 Add eslint-config-spt * #108 Ignore bundle.js file * #108 Change eslint ignore path to a glob file * Remove jshint and follow more of eslint rules
15 lines
398 B
JavaScript
15 lines
398 B
JavaScript
'use strict';
|
|
var specHelper = require('./specHelper');
|
|
var request = specHelper.request;
|
|
|
|
describe('The routes', function () {
|
|
describe('healthcheck', function () {
|
|
it('returns health good', function (done) {
|
|
request.get('/health')
|
|
.expect('Content-Type', /json/)
|
|
.expect(200)
|
|
.expect('{"health":"GOOD"}', done);
|
|
});
|
|
});
|
|
});
|