Skip to content
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.

Commit

Permalink
Added tests for health check
Browse files Browse the repository at this point in the history
  • Loading branch information
phutchins committed Jun 6, 2016
1 parent d0134ec commit 2fe6384
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,16 @@ describe('Data API', () => {
});
});

it('should respond with 200 OK when a GET request is senet to /', (done) => {
request(server.app)
.get('/')
.expect(200)
.end(function(err, res) {
if (err) return done(err);
done();
});
});

it('should process method: list', (done) => {
const testPOST = {
method: 'list',
Expand Down

0 comments on commit 2fe6384

Please sign in to comment.