jest-progress-bar-reporter
Version:
Progress bar reporter for Jest
35 lines (24 loc) • 1.32 kB
Markdown
# Progress bar reporter for jest [](https://travis-ci.org/pierreroth64/jest-progress-bar-reporter) [](https://badge.fury.io/js/jest-progress-bar-reporter) [](https://www.npmjs.com/package/jest-progress-bar-reporter) [](https://github.com/prettier/prettier)
## Installation
You may install this package as a development dependency:
```bash
npm install --save-dev jest-progress-bar-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-progress-bar-reporter']
};
```
You can checkout the expected output:
```bash
git clone https://github.com/pierreroth64/jest-progress-bar-reporter.git
cd jest-progress-bar-reporter
npm install
npm run example
```
