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

https://github.com/kevlened/jest-dot-reporter

Simple Jest Dot reporter
https://github.com/kevlened/jest-dot-reporter

Last synced: 7 months ago
JSON representation

Simple Jest Dot reporter

Awesome Lists containing this project

README

          

# Simple dot reporter for jest [![Build Status](https://travis-ci.org/pierreroth64/jest-dot-reporter.svg?branch=master)](https://travis-ci.org/pierreroth64/jest-dot-reporter) [![npm version](https://badge.fury.io/js/jest-dot-reporter.svg)](https://badge.fury.io/js/jest-dot-reporter)

## Installation

You may install this package as a development dependency:

```bash
npm install --save-dev jest-dot-reporter
```

⚠ Tested with Node 8.4 and Jest 21.2.1

## 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-dot-reporter'
]
};
```

You can checkout the expected output:

```bash
git clone https://github.com/pierreroth64/jest-dot-reporter.git
cd jest-dot-reporter
npm install
npm run example
```

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