jest-dashboard

Command-line dashboard for jest

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
jest-dashboard
69110.3.16 years ago6 years agoMinified + gzip package size for jest-dashboard in KB

Readme

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.
screenshot 2018-01-07 21 34 45

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:
  • Dashboard Improvements
  • Integration with Mocha
  • Test Cases
  • Examples

License

MIT License