Skip to content

Commit b9e3585

Browse files
committed
Revert "Revert readme changes to prevent confusion before next release"
This reverts commit a854684.
1 parent 76c2904 commit b9e3585

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

README.md

+7-2
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,13 @@ module.exports = {
4747
yarn jest
4848
```
4949

50-
## Config options
50+
### Coverage
51+
52+
Coverage works outside of the box, simply `yarn jest -- --coverage`
53+
54+
You can also use other Jest options like [coveragePathIgnorePatterns](http://facebook.github.io/jest/docs/en/configuration.html#coveragepathignorepatterns-array-string) and [coverageReporters](http://facebook.github.io/jest/docs/en/configuration.html#coveragereporters-array-string)
55+
56+
## Custom config options
5157

5258
Create a `jest-runner-mocha.config.js` at the `<rootDir>` or your Jest project.
5359

@@ -73,6 +79,5 @@ _NOTE: Eventually Jest will eventually have an option for configuring runners th
7379

7480
## Known issues
7581
- It does not support any Mocha options except for `ui` and `compiler`
76-
- You can't run it with `jest --coverage`
7782
- Support for compilers is very limited.
7883
- Does not support `jest --runInBand`

0 commit comments

Comments
 (0)