jest-quiet-reporter
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

jest-quiet-reporter

Reporter Output Screenshot

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-reporter

Jest CLI:

jest --reporters=jest-quiet-reporter

Jest configuration file:

{
  "reporters": ["jest-quiet-reporter"]
}

/jest-quiet-reporter/

    Package Sidebar

    Install

    npm i jest-quiet-reporter

    Weekly Downloads

    380

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    277 kB

    Total Files

    76

    Last publish

    Collaborators

    • rhinodavid