Skip to content

Commit

Permalink
Add rootDir to FileNotFound error message (jestjs#5693)
Browse files Browse the repository at this point in the history
  • Loading branch information
tamaslakatos committed Mar 1, 2018
1 parent fbe05d3 commit d615b67
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/jest-config/src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ export const resolve = (rootDir: string, key: string, filePath: Path) => {
throw createValidationError(
` Module ${chalk.bold(filePath)} in the ${chalk.bold(
key,
)} option was not found.`,
)} option was not found.
${chalk.bold('<rootDir>')} is: ${rootDir}`,
);
}

Expand Down

0 comments on commit d615b67

Please sign in to comment.