JSPM

jest-slack-reporter-ulms

1.0.4
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 610
  • Score
    100M100P100Q109732F
  • License MIT

Send custom Slack messages as a Jest test results processor.

Package Exports

  • jest-slack-reporter-ulms

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-ulms) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Jest Slack 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 your env variables (without https://)
WEBHOOK_URL=hooks.slack.com/services/X...X/X...X/X...X yarn test
  1. Set jest-slack-reporter-ulms as the jest testResultsProcessor in jest.config.js
...
"jest": {
  "testResultsProcessor": "./node_modules/jest-slack-reporter-ulms"
},
...