Skip to content

pierreroth64/jest-spec-reporter

Repository files navigation

Simple Spec reporter for jest Build Status npm version npm downloads code style: prettier

Installation

You may install this package as a development dependency:

npm install --save-dev jest-spec-reporter

Configuration

Configure Jest to use the reporter.

For example, create a jest.config.js file containing:

module.exports = {
  verbose: false,
  testPathIgnorePatterns: ["/node_modules/"],
  reporters: ["jest-spec-reporter"]
};

You can checkout the expected output:

git clone https://github.com/pierreroth64/jest-spec-reporter.git
cd jest-spec-reporter
npm install
npm run example