Skip to content

lukasPan/jest-reporter-simple-dispatcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Simple jest reporter with post data

Resources

License

Stars

Watchers

Forks

Packages

No packages published