Skip to content

Commit

Permalink
“typo” -> “typing mistake” (jestjs#2634)
Browse files Browse the repository at this point in the history
  • Loading branch information
cpojer authored Jan 19, 2017
1 parent 15a48e5 commit 9f8dc41
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ exports[`test displays warning for unknown config options 1`] = `
"● Validation Warning:
Unknown option \"unkwon\" with value {} was found. Did you mean \"unknown\"?
This is probably a typo. Fixing it will remove this message.
This is probably a typing mistake. Fixing it will remove this message.
"
`;
Expand Down Expand Up @@ -130,7 +130,7 @@ exports[`test works with custom warnings 1`] = `
"My Custom Warning:
Unknown option \"unknown\" with value \"string\" was found.
This is probably a typo. Fixing it will remove this message.
This is probably a typing mistake. Fixing it will remove this message.
My custom comment"
`;
2 changes: 1 addition & 1 deletion packages/jest-validate/src/warnings.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const unknownOptionWarning = (
const message =
` Unknown option ${chalk.bold(`"${option}"`)} with value ${chalk.bold(format(config[option]))} was found.` +
(didYouMean && ` ${didYouMean}`) +
`\n This is probably a typo. Fixing it will remove this message.`;
`\n This is probably a typing mistake. Fixing it will remove this message.`;
/* eslint-enable max-len */

const comment = options.comment;
Expand Down

0 comments on commit 9f8dc41

Please sign in to comment.