diff --git a/lib/cli/run.js b/lib/cli/run.js index 160315cd75..4a4da6cf68 100644 --- a/lib/cli/run.js +++ b/lib/cli/run.js @@ -99,7 +99,7 @@ exports.builder = yargs => coerce: list }, 'fail-zero': { - description: 'Fail if no test(s) encountered', + description: 'Fail test run if no test(s) encountered', group: GROUPS.RULES }, fgrep: { diff --git a/lib/runner.js b/lib/runner.js index 4940674180..7f9184fc1a 100644 --- a/lib/runner.js +++ b/lib/runner.js @@ -139,7 +139,7 @@ class Runner extends EventEmitter { * @param {boolean} [opts.cleanReferencesAfterRun] - Whether to clean references to test fns and hooks when a suite is done. * @param {boolean} [opts.delay] - Whether to delay execution of root suite until ready. * @param {boolean} [opts.dryRun] - Whether to report tests without running them. - * @param {boolean} [options.failZero] - Wether to fail test run if zero tests encountered. + * @param {boolean} [options.failZero] - Whether to fail test run if zero tests encountered. */ constructor(suite, opts) { super();