jest-custom-reporter

Custom reporter for Jest

Usage no npm install needed!

<script type="module">
  import jestCustomReporter from 'https://cdn.skypack.dev/jest-custom-reporter';
</script>

README

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