jest-spec-reporter
Version:
Simple Spec reporter for Jest
33 lines (23 loc) • 1.19 kB
Markdown
# Simple Spec reporter for jest [](https://travis-ci.org/pierreroth64/jest-spec-reporter) [](https://badge.fury.io/js/jest-spec-reporter) [](https://www.npmjs.com/package/jest-spec-reporter) [](https://github.com/prettier/prettier)
## Installation
You may install this package as a development dependency:
```bash
npm install --save-dev jest-spec-reporter
```
## Configuration
Configure [Jest](https://facebook.github.io/jest/docs/en/configuration.html) to use the reporter.
For example, create a `jest.config.js` file containing:
```javascript
module.exports = {
verbose: false,
testPathIgnorePatterns: ["/node_modules/"],
reporters: ["jest-spec-reporter"]
};
```
You can checkout the expected output:
```bash
git clone https://github.com/pierreroth64/jest-spec-reporter.git
cd jest-spec-reporter
npm install
npm run example
```