Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 27 days ago
JSON representation
Progress bar reporter for Jest
- Host: GitHub
- URL: https://github.com/pierreroth64/jest-progress-bar-reporter
- Owner: pierreroth64
- License: mit
- Created: 2020-02-12T14:41:51.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T04:32:12.000Z (almost 2 years ago)
- Last Synced: 2024-09-19T10:38:17.170Z (3 months ago)
- Topics: javascript, jest, nodejs, progress-bar, reporter
- Language: JavaScript
- Homepage:
- Size: 326 KB
- Stars: 11
- Watchers: 4
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-jest - jest-progress-bar-reporter
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')