Skip to content

Commit 454b4e6

Browse files
authored
Update deprecation message, fixes #15645. (#15663)
1 parent a2218e4 commit 454b4e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/jest-config/src/Deprecated.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ const deprecatedOptions: DeprecatedOptions = {
8989

9090
testPathPattern: () =>
9191
formatDeprecation(
92-
'Option *testPathPattern* was replaced by *testPathPatterns*.',
92+
'Option *testPathPattern* was replaced by *--testPathPatterns*. *--testPathPatterns* is only available as a command-line option.',
9393
),
9494

9595
testURL: (_options: {testURL?: string}) => ` Option ${chalk.bold(

0 commit comments

Comments
 (0)