jest-mattermost-reporter
v1.0.13
Published
Help report to mattermost
Downloads
51
Readme
Jest reporter
Jest test results processor for posting to mattermost.
Installation
npm install jest-mattermost-reporter --save-dev
Usage
Configure Jest to process the test results by adding the following entry to the Jest config (jest.config.json):
"jest": {
...,
"reporters": [
"default",
["jest-mattermost-reporter", {
"url": "http://{your-mattermost-site}/hooks/xxx-generatedkey-xxx",
}]
],
...
}
Available Options
The options below are specific to the reporter.
| Option Name | Type | Required | Default |
| :---------- | :----- | :------- | :------- |
| url
| string | true | '' |
| worstKey
| string | | [WorstCase]
|