Skip to content

Latest commit

 

History

History
34 lines (27 loc) · 827 Bytes

README.md

File metadata and controls

34 lines (27 loc) · 827 Bytes

jest-custom-reporter

Custom Jest reporter modeled after Mocha's "Spec" reporter.

Contents

  1. Installation
  2. Configuration
  3. Roadmap

Installation

npm i -D jest-custom-reporter
yarn add --dev jest-custom-reporter

Configuration

As per Jest's documentation, specify this package as part of the reporters array in your jest.config.js file.

module.exports = {
  reporters: [
    'jest-custom-reporter',
  ],
}

Roadmap

So many things! Here are some that are on my mind:

  • Migrate to TypeScript
  • Custom options object you can pass in for different reporter styles
  • Also need to write tests and add examples... :D