Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update docs
  • Loading branch information
brandonchinn178 committed Mar 7, 2024
commit f8c5a96f61664e5901a9e85873f2f632555856c3
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
- `[jest-cli]` When specifying paths on the command line, only match against the relative paths of the test files ([#12519](https://github.com/jestjs/jest/pull/12519))
- [**BREAKING**] Changes `testPathPattern` configuration option to `testPathPatterns`, which now takes a list of patterns instead of the regex.
- [**BREAKING**] `--testPathPattern` is now `--testPathPatterns`
- [**BREAKING**] Specifying `testPathPatterns` when programmatically calling `watch` must be specified as `new TestPathPatterns(patterns)`, where `TestPathPatterns` can be imported from `@jest/types`
- `[jest-reporters, jest-runner]` Unhandled errors without stack get correctly logged to console ([#14619](https://github.com/jestjs/jest/pull/14619))

### Performance
Expand Down
2 changes: 1 addition & 1 deletion packages/jest-cli/src/args.ts
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,7 @@ export const options: {[key: string]: Options} = {
},
testPathPatterns: {
description:
'A regexp pattern string that is matched against all tests ' +
'An array of regexp pattern strings that are matched against all tests ' +
'paths before executing the test.',
requiresArg: true,
string: true,
Expand Down