Skip to content

Commit

Permalink
Fix message when no tests are found. (#4981)
Browse files Browse the repository at this point in the history
  • Loading branch information
cpojer authored Nov 29, 2017
1 parent 3d733f6 commit 0338a82
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion integration_tests/__tests__/multi_project_runner.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,8 @@ test('"No tests found" message for projects', () => {
'project2',
]);
expect(stdout).toContain(
' 6 files checked across 2 projects. for more details run with `--verbose`',
' 6 files checked across 2 projects. ' +
'Run with `--verbose` for more details.',
);
});

Expand Down
2 changes: 1 addition & 1 deletion packages/jest-cli/src/get_no_test_found.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default function getNoTestFound(testRunData, globalConfig): string {
'project',
testRunData.length,
's',
)}. for more details run with \`--verbose\`` +
)}. Run with \`--verbose\` for more details.` +
'\n' +
dataMessage
);
Expand Down

0 comments on commit 0338a82

Please sign in to comment.