jest-slack-reporter
v0.1.1
Published
Send custom Slack messages as a Jest test results processor.
Downloads
3,106
Readme
Jest JSON Reporter
Jest reporter that notifies a slack channel via Incoming Webhook integration
Set up
- Set up a Slack Incoming Webhook integration
- Add the Webhook URL to
package.json
underjestSlackReporter
"jestSlackReporter": {
"webhookUrl": "https://hooks.slack.com/services/XXXXXXXXX/XXXXXXXXX/XXXXXXXXXXXXXXXXXX"
},
- Set
jest-slack-reporter
as the jesttestResultsProcessor
...
"jest": {
"testResultsProcessor": "./node_modules/jest-slack-reporter"
},
...