npm.io
2.0.0 • Published 1 month ago

@reporters/silent

Licence
MIT
Version
2.0.0
Deps
0
Size
1 kB
Vulns
0
Weekly
0
Stars
60

npm version tests codecov

Silent Reporter

A Silent reporter for node:test, in case you don't want to see any output.

Installation

npm install --save-dev @reporters/silent

or

yarn add --dev @reporters/silent

Usage

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.