From c611faa6feeb5ec849e0e593862951e5b891515b Mon Sep 17 00:00:00 2001 From: juergba Date: Mon, 16 Aug 2021 14:21:54 +0200 Subject: [PATCH] review --- lib/cli/run.js | 2 +- lib/runner.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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();