0.1.1 • Published 7 years ago

jest-slack-reporter v0.1.1

Weekly downloads
345
License
MIT
Repository
github
Last release
7 years ago

Jest JSON Reporter

Jest reporter that notifies a slack channel via Incoming Webhook integration

Set up

  1. Set up a Slack Incoming Webhook integration
  2. Add the Webhook URL to package.json under jestSlackReporter
"jestSlackReporter": {
  "webhookUrl": "https://hooks.slack.com/services/XXXXXXXXX/XXXXXXXXX/XXXXXXXXXXXXXXXXXX"
},
  1. Set jest-slack-reporter as the jest testResultsProcessor
...
"jest": {
  "testResultsProcessor": "./node_modules/jest-slack-reporter"
},
...