0.2.1 • Published 2 years ago

jest-reporter-simple-dispatcher v0.2.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Simple jest reporter with post data

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.

Installation

You may install this package as a development dependency:

npm install --save-dev jest-reporter-simple-dispatcher
yarn add --dev jest-reporter-simple-dispatcher

Configuration

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"}]
  ]
};