UNPKG

@reporters/silent

Version:
25 lines (17 loc) 759 B
[![npm version](https://img.shields.io/npm/v/@reporters/silent)](https://www.npmjs.com/package/@reporters/silent) ![tests](https://github.com/MoLow/reporters/actions/workflows/test.yaml/badge.svg?branch=main) [![codecov](https://codecov.io/gh/MoLow/reporters/branch/main/graph/badge.svg?token=0LFVC8SCQV)](https://codecov.io/gh/MoLow/reporters) # Silent Reporter A Silent reporter for `node:test`, in case you don't want to see any output. ## Installation ```bash npm install --save-dev @reporters/silent ``` or ```bash yarn add --dev @reporters/silent ``` ## Usage ```bash node --test --test-reporter=@reporters/silent ``` the output will be empty, but the tests will still run, and the exit code will be 0 if all tests pass, and 1 if any test fails.