differencify-jest-reporter

A Jest reporter for Differencify

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
differencify-jest-reporter
0.0.36 years ago6 years agoMinified + gzip package size for differencify-jest-reporter in KB

Readme

differencify-jest-reporter
A Jest reporter for Differencify

Installation

Using npm:
$ npm i -D differencify-jest-reporter

Usage

Jest CLI:
jest --reporters differencify-jest-reporter

Jest Config:
{
  "reporters": ["differencify-jest-reporter"]
}

Options

debug: boolean

Logs the output to consol

reportPath: string

Report directory relative to root of project

reportTypes: object

File name for generating a html report and json
reporters: [
  'default', // keep the default reporter
  [
    'differencify-jest-reporter',
    {
      debug: true,
      reportPath: 'differencify_reports',
      reportTypes: {
        html: 'index.html',
        json: 'index.json',
      },
    },
  ],
],

Note: Options are available only via jest.config file

Licence

MIT