Add healthcheck endpoint (close #140)
This commit is contained in:
1 parent
d30027e992
commit
5d93b1d4f9
3 files changed
+24
No files matched your search
@@ -38,6 +38,14 @@ var testTileJSON = function(url) {
|
||||
};
|
||||
|
||||
describe('Metadata', function() {
|
||||
describe('/health', function() {
|
||||
it('returns 200', function(done) {
|
||||
supertest(app)
|
||||
.get('/health')
|
||||
.expect(200, done);
|
||||
});
|
||||
});
|
||||
|
||||
testTileJSONArray('/index.json');
|
||||
testTileJSONArray('/rendered.json');
|
||||
testTileJSONArray('/data.json');
|
||||
|
||||
Reference in new issue
Block a user