Skip to content

Commit

Permalink
add unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
craigtaub committed Jan 4, 2019
1 parent 7be247e commit 5d49ff3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cli/run-helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ exports.handleFiles = ({

if (!files.length) {
if (missingMessages.length === 1) {
// give message details when only 1 missing file
// give full message details when only 1 file is missing
console.error(ansi.red(`Error: ${missingMessages[0]}`));
} else {
console.error(ansi.red('Error: No test files found'));
Expand Down

0 comments on commit 5d49ff3

Please sign in to comment.