Skip to content

geoblink/jest-summary-reporter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Summary reporter for Jest

Simple reporter to summarize the failing tests at the END of a test run. Without this, you may be scrolling through pages of results to figure out which files to edit.

See the issue that inspired this.

Configuration

By default it prints the detailed failure messages and the summary of the failed tests.

Add @geoblink/jest-summary-reporter in addition to default reporters that Jest provides:

{
  "reporters": [
    "default",
    "@geoblink/jest-summary-reporter"
  ]
}

If you want to see passing/pending tests as well:

{
  "reporters": [
    "default",
    ["@geoblink/jest-summary-reporter", {"failuresOnly": false}]
  ]
}

If you want to omit the detailed failure messages:

{
  "reporters": [
    "default",
    ["@geoblink/jest-summary-reporter", {"shouldPrintFailureMessages": false}]
  ]
}

NB: This module is not complete enough to be useful as the only reporter.

See also: Jest docs for custom reporter configuration

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%