# @outlinerisk/jest-friendly-reporter

> Jest reporter that uses stdout for messages and stderr for errors

Latest version **0.6.0** (published 2022-03-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install @outlinerisk/jest-friendly-reporter
pnpm add @outlinerisk/jest-friendly-reporter
yarn add @outlinerisk/jest-friendly-reporter
bun add @outlinerisk/jest-friendly-reporter
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.6.0 |
| Published | 2022-03-23 |
| First published | 2019-10-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 6 |
| Unpacked size | 27.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Chris Galvan |
| Maintainers | iwong3, gbooth, james-outline |
| Keywords | jest, jest-reporter |

## Links

- npm: https://www.npmjs.com/package/@outlinerisk/jest-friendly-reporter
- Repository: https://github.com/outline-insurance/jest-friendly-reporter
- Homepage: https://github.com/outline-insurance/jest-friendly-reporter#readme
- Issues: https://github.com/outline-insurance/jest-friendly-reporter
- npm.io page: https://npm.io/package/@outlinerisk/jest-friendly-reporter

## Dependencies (6)

- [path](https://npm.io/package/path.md) ^0.12.7
- [chalk](https://npm.io/package/chalk.md) ^4.1.0
- [slash](https://npm.io/package/slash.md) ^3.0.0
- [jest-util](https://npm.io/package/jest-util.md) ^26.6.0
- [@jest/console](https://npm.io/package/@jest/console.md) ^26.6.0
- [string-length](https://npm.io/package/string-length.md) ^4.0.1

## Recent versions

- 0.6.0 (latest) — 2022-03-23
- 0.5.0 — 2019-11-01
- 0.4.0 — 2019-11-01
- 0.3.0 — 2019-10-31
- 0.2.0 — 2019-10-15
- 0.1.0 — 2019-10-15

## README

![npm](https://img.shields.io/npm/v/jest-standard-reporter.svg?style=flat-square)
![npm bundle size](https://img.shields.io/bundlephobia/minzip/jest-standard-reporter.svg?style=flat-square)
![downloads](https://img.shields.io/npm/dm/jest-standard-reporter.svg?style=flat-square)
![mit](https://img.shields.io/github/license/chrisgalvan/jest-standard-reporter?style=flat-square)
![keywords](https://img.shields.io/github/package-json/keywords/chrisgalvan/jest-standard-reporter?style=flat-square)

# Jest Standard Reporter

[Jest](https://jestjs.io/) [reporter](https://jestjs.io/docs/en/configuration#reporters-arraymodulename--modulename-options)
that uses `stdout` for messages and `stderr` for errors.

## Installation

Using [npm](https://www.npmjs.com/):

```sh
npm install --save-dev jest-standard-reporter
```

Using [yarn](https://yarnpkg.com/):

```sh
yarn add --dev jest-standard-reporter
```

## Usage

Jest CLI:

```sh
jest --reporters=jest-standard-reporter
```

Jest config:

```json
{
  "reporters": ["jest-standard-reporter"]
}
```

Supports the following Jest configurations:

- [`useStderr`](https://jestjs.io/docs/en/cli#usestderr)
- [`verbose`](https://jestjs.io/docs/en/cli#verbose)

## Inspiration

Jest uses `stderr` to print the results of the tests (as opposed to `stdout`; [see issue #5064](https://github.com/facebook/jest/issues/5064)). Many CI tools mark any output coming from `stderr` as a failure, making builds to fail even when the tests pass (false positive).

This reporter uses `stdout` to print messages and only uses `stderr` when an error is thrown.

If you chose to, you could override this behavior using the `useStderr` flag.

## License

MIT

---
_Source: https://npm.io/package/@outlinerisk/jest-friendly-reporter · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
