JSPM

jest-slack-reporter

0.1.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 704
  • Score
    100M100P100Q107638F
  • License MIT

Send custom Slack messages as a Jest test results processor.

Package Exports

  • jest-slack-reporter

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (jest-slack-reporter) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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