jest-slack-reporter

Send custom Slack messages as a Jest test results processor.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
jest-slack-reporter
500.1.16 years ago6 years agoMinified + gzip package size for jest-slack-reporter in KB

Readme

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": "./nodemodules/jest-slack-reporter" }, ...