npm.io
1.0.17 • Published 5 years ago

jest-mocha-spec-reporter

Licence
MIT
Version
1.0.17
Deps
2
Size
7 kB
Vulns
2
Weekly
0

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"]
};

Keywords