Skip to content

Commit

Permalink
update document for watchPathIgnorePatterns (#4343)
Browse files Browse the repository at this point in the history
* update document for watchPathIgnorePatterns

* Update Configuration.md
  • Loading branch information
aisensiy authored and cpojer committed Aug 24, 2017
1 parent 9ea074c commit 5d7d86d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/en/Configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -631,3 +631,10 @@ It is possible to override this setting in individual tests by explicitly callin
Default: `false`

Indicates whether each individual test should be reported during the run. All errors will also still be shown on the bottom after execution.

### `watchPathIgnorePatterns` [array<string>]
Default: `[]`

An array of RegExp patterns that are matched against all source file paths before re-running tests in watch mode. If the file path matches any of the patterns, when it is updated, it will not trigger a re-run of tests.

These patterns match against the full path. Use the `<rootDir>` string token to include the path to your project's root directory to prevent it from accidentally ignoring all of your files in different environments that may have different root directories. Example: `["<rootDir>/node_modules/"]`.

0 comments on commit 5d7d86d

Please sign in to comment.