1.0.17 • Published 3 years ago

jest-mocha-spec-reporter v1.0.17

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Jest reporter with Mocha spec style logging

This is a fork of peio's jest-spec-reporter, tweaking it to look like Mocha's spec reporter.

Here is the output of npm run example:

Installation

You may install this package as a development dependency:

npm install --save-dev jest-mocha-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-mocha-spec-reporter"]
};