Skip to content

Commit

Permalink
[DOCS] Clarify --projects CLI option (#6872)
Browse files Browse the repository at this point in the history
  • Loading branch information
yozlet authored and SimenB committed Aug 21, 2018
1 parent ac3c5a2 commit 432937b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

- `[docs]` Add custom toMatchSnapshot matcher docs ([#6837](https://github.com/facebook/jest/pull/6837))
- `[docs]` Improve the documentation regarding preset configuration ([#6864](https://github.com/facebook/jest/issues/6864))
- `[docs]` Clarify usage of `--projects` CLI option ([#6872](https://github.com/facebook/jest/pull/6872))

## 23.5.0

Expand Down
4 changes: 2 additions & 2 deletions docs/CLI.md
Original file line number Diff line number Diff line change
Expand Up @@ -213,9 +213,9 @@ Alias: `-o`. Attempts to identify which tests to run based on which files have c

Allows the test suite to pass when no files are found.

### `--projects <project1> ... <projectN>`
### `--projects <path1> ... <pathN>`

Run tests from one or more projects.
Run tests from one or more projects, found in the specified paths; also takes path globs. This option is the CLI equivalent of the [`projects`](configuration#projects-arraystring--projectconfig) configuration option. Note that if configuration files are found in the specified paths, _all_ projects specified within those configuration files will be run.

### `--reporters`

Expand Down

0 comments on commit 432937b

Please sign in to comment.