Skip to content

Commit

Permalink
improve unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rcruzper committed Aug 27, 2019
1 parent 8a84ee7 commit 8fa8a61
Show file tree
Hide file tree
Showing 10 changed files with 766 additions and 377 deletions.
2 changes: 1 addition & 1 deletion lib/infoRoute.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,5 @@ module.exports = function info(req, res) {
version: packageVersion
},
git: git
}).end();
});
};
2 changes: 1 addition & 1 deletion lib/metricsRoute.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ module.exports = function metrics(req, res) {
res.status(200).json({
mem: process.memoryUsage(),
uptime: process.uptime()
}).end();
});
};
Loading

0 comments on commit 8fa8a61

Please sign in to comment.