Skip to content
Merged
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
### Fixes

* `[jest-jasmine2]` Fix memory leak in snapshot reporting ([#5279](https://github.com/facebook/jest/pull/5279))
* `[jest-config]` Fix breaking change in `--testPathPattern` ([#5269](https://github.com/facebook/jest/pull/5269))

## jest 22.0.5

Expand Down
8 changes: 5 additions & 3 deletions docs/CLI.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,9 @@ CLI options take precedence over values from the
When you run `jest` with an argument, that argument is treated as a regular
expression to match against files in your project. It is possible to run test
suites by providing a pattern. Only the files that the pattern matches will be
picked up and executed. Note: depending on your terminal, you may need to quote
this argument: `jest "my.*(complex)?pattern"`.
picked up and executed. Depending on your terminal, you may need to quote this
argument: `jest "my.*(complex)?pattern"`. On Windows, you will need to use `/`
as a path separator or escape `\` as `\\`.

### `--bail`

Expand Down Expand Up @@ -276,7 +277,8 @@ Note that `column` is 0-indexed while `line` is not.
### `--testPathPattern=<regex>`

A regexp pattern string that is matched against all tests paths before executing
the test.
the test. On Windows, you will need to use `/` as a path separator or escape `\`
as `\\`.

### `--testRunner=<path>`

Expand Down