This jest reporter sends all data it's received after all the test suites have been executed.
There is node-fetch dependecy in this project. Project is using fetch
method for sending data to url defined by user.
You may install this package as a development dependency:
npm install --save-dev jest-reporter-simple-dispatcher
yarn add --dev jest-reporter-simple-dispatcher
Configure Jest to use the reporter.
For example, create a jest.config.js
file containing:
module.exports = {
"verbose": false,
"reporters": [
["jest-reporter-simple-dispatcher", {"url": "YOUR SERVER URL"}]
]
};