Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pierreroth64/jest-progress-bar-reporter

Progress bar reporter for Jest
https://github.com/pierreroth64/jest-progress-bar-reporter

javascript jest nodejs progress-bar reporter

Last synced: 3 months ago
JSON representation

Progress bar reporter for Jest

Awesome Lists containing this project

README

        

# Progress bar reporter for jest [![Build Status](https://travis-ci.org/pierreroth64/jest-progress-bar-reporter.svg?branch=master)](https://travis-ci.org/pierreroth64/jest-progress-bar-reporter) [![npm version](https://badge.fury.io/js/jest-progress-bar-reporter.svg)](https://badge.fury.io/js/jest-progress-bar-reporter) [![npm downloads](https://img.shields.io/npm/dm/jest-progress-bar-reporter.svg?style=flat-square)](https://www.npmjs.com/package/jest-progress-bar-reporter) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](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
```

![Test run](./example/dot.gif?raw=true 'Test run')