diff --git a/lib/mocha.js b/lib/mocha.js index fac1697c11..f1f2e25dd7 100644 --- a/lib/mocha.js +++ b/lib/mocha.js @@ -180,10 +180,10 @@ exports.run = function(...args) { * @param {number} [options.slow] - Slow threshold value. * @param {number|string} [options.timeout] - Timeout threshold value. * @param {string} [options.ui] - Interface name. - * @param {boolean} [options.parallel] - Run jobs in parallel - * @param {number} [options.jobs] - Max number of worker processes for parallel runs - * @param {MochaRootHookObject} [options.rootHooks] - Hooks to bootstrap the root - * suite with + * @param {boolean} [options.parallel] - Run jobs in parallel. + * @param {number} [options.jobs] - Max number of worker processes for parallel runs. + * @param {MochaRootHookObject} [options.rootHooks] - Hooks to bootstrap the root suite with. + * @param {string[]} [options.require] - Pathname of `rootHooks` plugin for parallel runs. * @param {boolean} [options.isWorker] - Should be `true` if `Mocha` process is running in a worker process. */ function Mocha(options = {}) {