Slay preboot providing shutdown and Kubernetes readiness / liveness checks with terminus.
const terminusOptions = {
healthChecks: {
'/healthcheck': () => Promise.resolve()
},
logger: console.log
};
app.preboot(require('slay-terminus')(terminusOptions));
All tests are written with mocha and should be run with npm
:
$ npm test