README
Jest Silent Reporter
Jest custom reporter that only prints failed tests.
Installation
Using npm:
$ npm i -D jest-silent-reporter
Using yarn:
$ yarn add -D jest-silent-reporter
Usage
Jest CLI:
jest --reporters jest-silent-reporter
Jest Config:
{
"reporters": ["jest-silent-reporter"]
}
Options
useDots: boolean
For large test suites, jest-silent-reporter
can cause CI to fail due to having
no output for some configured amount of time. Using the useDots
option will
output dots for each test file, similar to a dot reporter.
{
"reporters": [["jest-silent-reporter", { "useDots": true }]]
}
Note: this config is also available as an envar JEST_SILENT_REPORTER_DOTS=true
Screens
All tests passed
Tests failed
Licence
MIT