Skip to content

Commit

Permalink
Fix missing newline after "no files changed" (#5308)
Browse files Browse the repository at this point in the history
* Fix missing newline after "no files changed"

* Try to fix formatting

* Try to fix prettier formatting

* Use PR link in changelog
  • Loading branch information
sachinmk27 authored and cpojer committed Jan 14, 2018
1 parent b6f5f79 commit afc0a49
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
* `[jest-runner]` Fix memory leak in coverage reporting
([#5289](https://github.com/facebook/jest/pull/5289))
* `[docs]` Update mention of the minimal version of node supported [#4947](https://github.com/facebook/jest/issues/4947)
* `[jest-cli]` Fix missing newline in console message ([#5308](https://github.com/facebook/jest/pull/5308))

### Chore & Maintenance

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@ export default function getNoTestFoundRelatedToChangedFiles(globalConfig) {

if (isInteractive) {
msg += chalk.dim(
'\n' + globalConfig.watch
? 'Press `a` to run all tests, or run Jest with `--watchAll`.'
: 'Run Jest without `-o` or with `--all` to run all tests.',
'\n' +
(globalConfig.watch
? 'Press `a` to run all tests, or run Jest with `--watchAll`.'
: 'Run Jest without `-o` or with `--all` to run all tests.'),
);
}

Expand Down

0 comments on commit afc0a49

Please sign in to comment.