From d9f9aab47457f1b027c5dfda163dc60273bcb2f4 Mon Sep 17 00:00:00 2001 From: Sean Poulter Date: Thu, 11 Jan 2018 09:32:04 -0500 Subject: [PATCH] Add #5269 to docs and change log (#5284) --- CHANGELOG.md | 1 + docs/CLI.md | 8 +++++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 17f62e5e4ece..0f32fd62b3f0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/docs/CLI.md b/docs/CLI.md index 2b0a963c3b2c..a3da06c4b6fc 100644 --- a/docs/CLI.md +++ b/docs/CLI.md @@ -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` @@ -276,7 +277,8 @@ Note that `column` is 0-indexed while `line` is not. ### `--testPathPattern=` 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=`