Skip to content

Commit

Permalink
Use "verbose" no test found message when there is only one project (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
rogeliog authored and cpojer committed Aug 27, 2017
1 parent 17cdf53 commit e5fd773
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/jest-cli/src/get_no_test_found_message.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const getNoTestsFoundMessage = (testRunData, globalConfig): string => {
if (globalConfig.onlyChanged) {
return getNoTestFoundRelatedToChangedFiles(globalConfig);
}
return globalConfig.verbose
return testRunData.length === 1 || globalConfig.verbose
? getNoTestFoundVerbose(testRunData, globalConfig)
: getNoTestFound(testRunData, globalConfig);
};
Expand Down

0 comments on commit e5fd773

Please sign in to comment.