Skip to content

Commit

Permalink
Add more clarity to findRelatedTests usage docs (#3009)
Browse files Browse the repository at this point in the history
The documentation incorrectly stated that the `--findRelatedTests` cli
option expected an `=` before the list of files.
It does not, and this corrects that documentation
It also tries to make it clear that the findRelatedTests option
takes a space separated list of source files and runs their related tests.
  • Loading branch information
benmccormick authored and cpojer committed Feb 27, 2017
1 parent 445663b commit bc00a05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/CLI.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ The test environment used for all tests. This can point to any file or node modu

Alias: `-e`. Use this flag to show full diffs instead of a patch.

### `--findRelatedTests=<listOfSourceFiles>`
### `--findRelatedTests <spaceSeparatedListOfSourceFiles>`

Find the tests that cover a list of source files that were passed in as arguments. Useful for pre-commit hook integration to run the minimal amount of tests necessary.
Find and run the tests that cover a space separated list of source files that were passed in as arguments. Useful for pre-commit hook integration to run the minimal amount of tests necessary.

### `--forceExit`

Expand Down

0 comments on commit bc00a05

Please sign in to comment.