jest-slack-reporter

Send custom Slack messages as a Jest test results processor.

MIT 3 个版本
安装
npm install jest-slack-reporter
yarn add jest-slack-reporter
pnpm add jest-slack-reporter
bun add jest-slack-reporter
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"
},
...
版本列表
0.1.1 2017-05-23
0.1.0 2017-05-23
0.0.1 2017-03-25