Skip to content

Commit

Permalink
Make @jest/reporters a peerDependency, and bump the required version …
Browse files Browse the repository at this point in the history
…down (#1)
  • Loading branch information
sophiekoonin authored Jan 18, 2021
1 parent 8c486ab commit 56a00a0
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4,630 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ Install with your favorite package manager:
npm install --save-dev jest-clean-console-reporter
```

You'll also need Jest 25 or later.

Configure:

```js
Expand Down Expand Up @@ -71,6 +73,8 @@ const jestConfig = {
};
```

NB. If you're using **Jest 26.6.1 or earlier**, you'll need to change this to `"@jest/reporters/build/summary_reporter"` as the file was renamed in v26.6.2.

### `options.rules`

Rules tell the reporter which console messages should be filtered, and how
Expand Down
Loading

0 comments on commit 56a00a0

Please sign in to comment.