Sends a Slack Notification to team members before they are due to start an out of hours or in-hours support rotation.
- Node.js 14.x.x
Run script/setup
. You'll be prompted for values to populate the .env
file
with (currently just a Slack Token for a bot user).
Run npm start
. This queries the
On Call Rota for any rotations that are
starting in one week's time. If this is the case, it sends a Slack message to
both on call users.
Tests are written with Jest, linting is done using
eslint, and format checking is done using
Prettier. To run the tests, linter and format checking
run script/test
.