Home

Awesome

jest-dashboard

A command line dashboard for jest

Join the chat at https://gitter.im/theoutlander/jest-dashboard CircleCI npm version npm NSP Status PRs Welcome license

Purpose

When you run tests in jest, you probably see this sort of output:

image

While that is helpful, it can get quite hard to parse through the noise. The jest-dashboard simplifies this.

<img width="1613" alt="screenshot 2018-01-07 21 34 45" src="https://user-images.githubusercontent.com/749084/34659897-e07bd45e-f3f2-11e7-9a05-70dbfeb6077f.png">

Install

npm install -D jest-dashboard

NPM

Usage

You can use jest-dashboard in two ways:

1). Specify the jest-dashboard reporter as a command line parameter

jest --reporters jest-dashboard

OR

2). Modify your jest configuration file with the following:

"reporters": ["jest-dashboard"]

and run:

jest --config <jest.config.json>

Press Escape to quit

Hot Keys

<TAB> - Switch focus between Table View and Log View

<ESC> - Quit Dashboard

    t - Toggle table view to display Test Files or Test Cases
    
    q - Quit Dashboard

Contribution

This is a work-in-progress and we would like your help. Please consider contributing to this project on one of the following:

License

MIT License