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
- Set up a Slack Incoming Webhook integration
- Add the Webhook URL to
package.jsonunderjestSlackReporter
"jestSlackReporter": {
"webhookUrl": "https://hooks.slack.com/services/XXXXXXXXX/XXXXXXXXX/XXXXXXXXXXXXXXXXXX"
},- Set
jest-slack-reporteras the jesttestResultsProcessor
...
"jest": {
"testResultsProcessor": "./node_modules/jest-slack-reporter"
},
...