# jest-aggregate-json-reporter

> JSON test results processor for Jest.

Latest version **0.1.1** (published 2020-05-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install jest-aggregate-json-reporter
pnpm add jest-aggregate-json-reporter
yarn add jest-aggregate-json-reporter
bun add jest-aggregate-json-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.1.1 |
| Published | 2020-05-26 |
| First published | 2020-05-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 18.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | interlock |
| Keywords | test, jest, reporter |

## Links

- npm: https://www.npmjs.com/package/jest-aggregate-json-reporter
- Repository: https://github.com/interlock/jest-aggregate-json-reporter
- Issues: https://github.com/interlock/jest-aggregate-json-reporter/issues
- npm.io page: https://npm.io/package/jest-aggregate-json-reporter

## Dependencies (1)

- [read-pkg-up](https://npm.io/package/read-pkg-up.md) ^7.0.1

## Alternatives

- [duck](https://npm.io/package/duck.md) — 4.2M weekly downloads
- [ava](https://npm.io/package/ava.md) — 560.2K weekly downloads
- [storybook-addon-module-mock](https://npm.io/package/storybook-addon-module-mock.md) — 71.7K weekly downloads
- [vest](https://npm.io/package/vest.md) — 50.1K weekly downloads
- [@ethereum-waffle/mock-contract](https://npm.io/package/@ethereum-waffle/mock-contract.md) — 40.0K weekly downloads

## Recent versions

- 0.1.1 (latest) — 2020-05-26
- 0.1.0 — 2020-05-21
- 0.0.4 — 2020-05-21
- 0.0.3 — 2020-05-21

## README

# Jest JSON Reporter

![Node.js CI](https://github.com/interlock/jest-aggregate-json-reporter/workflows/Node.js%20CI/badge.svg)

JSON test aggregate results processor for Jest. Outputs the test results in JSON format as speified in the [jest documentation](http://facebook.github.io/jest/docs/configuration.html#testresultsprocessor-string) to a file called test-results.json (configurable)

This is a fork of [jest-json-reporter](https://github.com/Vall3y/jest-json-reporter)

## Setup

```
npm install --save-dev jest-aggregate-json-reporter
```

Then add to Jest config in the package.json

```
...
"jest": {
  "testResultsProcessor": "jest-aggregate-json-reporter"
},
...
```

## Configure

### output file name

By default, output file goes to test-results.json. You can configure it by adding a outputFile field under jestJsonReporter in your package.json file:

```
"jestAggregateJsonReporter": {
  "outputFile": "tests/results.json"
},
```

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