1.0.1 • Published 2 years ago
jest-quiet-reporter v1.0.1
jest-quiet-reporter

All the Jest reporters out there are either silent or noisy.
jest-quiet-reporter is a twist on the built-in Default Reporter.
For passing tests, it only outputs "PASS" with the test path and the time. But for failing tests, it shows you the STDOUT and STDERR logs produced during the tests. Now you can console.log to your heart's content and only see it when you need it.
Usage
Install:
pnpm add -D jest-quiet-reporterJest CLI:
jest --reporters=jest-quiet-reporterJest configuration file:
{
"reporters": ["jest-quiet-reporter"]
}