Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reference @jest/reporters version specifically #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ module.exports = {
// Overriding config.reporters wipes out default reporters, so
// we need to restore the summary reporter.
//
// NOTE: For jest 26.6.1 or older, this file is located at
// NOTE: For @jest/reporters 26.6.1 or older, this file is located at
// @jest/reporters/build/summary_reporter
"@jest/reporters/build/SummaryReporter",
],
Expand All @@ -70,9 +70,9 @@ module.exports = {

## Options

Pass options to the reporter in your jest configuration as follows:
Pass options to the reporter in your jest configuration as follows. Your version of `@jest/reporters` is likely the same as your base Jest version, but it's possible that the minor version is more recent. You can determine your specific version by running `npm ls @jest/reporters`.

### Using Jest 26.6.2 or newer
### Using @jest/reporters 26.6.2 or newer

```js
const jestConfig = {
Expand All @@ -83,7 +83,7 @@ const jestConfig = {
};
```

### Using Jest 25.1.0-26.6.1
### Using @jest/reporters 25.1.0-26.6.1

```js
const jestConfig = {
Expand Down