We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91a3132 commit 047d629Copy full SHA for 047d629
bin/cli.js
@@ -59,7 +59,7 @@ const onlyFailures = options.onlyFailures || false;
59
const collectCoverage =
60
Boolean(options.collectCoverage) ||
61
config.collectCoverage ||
62
- (testFiles !== undefined && options.testNamePattern !== undefined && !onlyFailures);
+ (testFiles === undefined && options.testNamePattern === undefined && !onlyFailures);
63
64
const testOption = {
65
includes,
0 commit comments