Skip to content

Commit afc0a49

Browse files
sachinmk27cpojer
authored andcommitted
Fix missing newline after "no files changed" (#5308)
* Fix missing newline after "no files changed" * Try to fix formatting * Try to fix prettier formatting * Use PR link in changelog
1 parent b6f5f79 commit afc0a49

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
* `[jest-runner]` Fix memory leak in coverage reporting
1313
([#5289](https://github.com/facebook/jest/pull/5289))
1414
* `[docs]` Update mention of the minimal version of node supported [#4947](https://github.com/facebook/jest/issues/4947)
15+
* `[jest-cli]` Fix missing newline in console message ([#5308](https://github.com/facebook/jest/pull/5308))
1516

1617
### Chore & Maintenance
1718

packages/jest-cli/src/get_no_test_found_related_to_changed_files.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@ export default function getNoTestFoundRelatedToChangedFiles(globalConfig) {
88

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

0 commit comments

Comments
 (0)