Skip to content

Commit d35eb9d

Browse files
authored
docs: add "options.require" to Mocha constructor (#4630) [ci skip]
1 parent 908aa05 commit d35eb9d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/mocha.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -180,10 +180,10 @@ exports.run = function(...args) {
180180
* @param {number} [options.slow] - Slow threshold value.
181181
* @param {number|string} [options.timeout] - Timeout threshold value.
182182
* @param {string} [options.ui] - Interface name.
183-
* @param {boolean} [options.parallel] - Run jobs in parallel
184-
* @param {number} [options.jobs] - Max number of worker processes for parallel runs
185-
* @param {MochaRootHookObject} [options.rootHooks] - Hooks to bootstrap the root
186-
* suite with
183+
* @param {boolean} [options.parallel] - Run jobs in parallel.
184+
* @param {number} [options.jobs] - Max number of worker processes for parallel runs.
185+
* @param {MochaRootHookObject} [options.rootHooks] - Hooks to bootstrap the root suite with.
186+
* @param {string[]} [options.require] - Pathname of `rootHooks` plugin for parallel runs.
187187
* @param {boolean} [options.isWorker] - Should be `true` if `Mocha` process is running in a worker process.
188188
*/
189189
function Mocha(options = {}) {

0 commit comments

Comments
 (0)