File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 44### Fixes
55
66* ` [jest-jasmine2] ` Fix memory leak in snapshot reporting ([ #5279 ] ( https://github.com/facebook/jest/pull/5279 ) )
7+ * ` [jest-config] ` Fix breaking change in ` --testPathPattern ` ([ #5269 ] ( https://github.com/facebook/jest/pull/5269 ) )
78
89## jest 22.0.5
910
Original file line number Diff line number Diff line change @@ -85,8 +85,9 @@ CLI options take precedence over values from the
8585When you run ` jest ` with an argument, that argument is treated as a regular
8686expression to match against files in your project. It is possible to run test
8787suites by providing a pattern. Only the files that the pattern matches will be
88- picked up and executed. Note: depending on your terminal, you may need to quote
89- this argument: ` jest "my.*(complex)?pattern" ` .
88+ picked up and executed. Depending on your terminal, you may need to quote this
89+ argument: ` jest "my.*(complex)?pattern" ` . On Windows, you will need to use ` / `
90+ as a path separator or escape ` \ ` as ` \\ ` .
9091
9192### ` --bail `
9293
@@ -276,7 +277,8 @@ Note that `column` is 0-indexed while `line` is not.
276277### ` --testPathPattern=<regex> `
277278
278279A regexp pattern string that is matched against all tests paths before executing
279- the test.
280+ the test. On Windows, you will need to use ` / ` as a path separator or escape ` \ `
281+ as ` \\ ` .
280282
281283### ` --testRunner=<path> `
282284
You can’t perform that action at this time.
0 commit comments