From bc00a05f4897560f037517ab8ee0b1cb1f081173 Mon Sep 17 00:00:00 2001 From: Ben McCormick Date: Sun, 26 Feb 2017 20:50:37 -0500 Subject: [PATCH] Add more clarity to findRelatedTests usage docs (#3009) 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. --- docs/CLI.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/CLI.md b/docs/CLI.md index 0d615c4981dc..512c9f956e21 100644 --- a/docs/CLI.md +++ b/docs/CLI.md @@ -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=` +### `--findRelatedTests ` -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`