Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

theoutlander/jest-dashboard

Repository files navigation

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

About

Command Line Dashboard for Jest

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

AltStyle によって変換されたページ (->オリジナル) /