Skip to content

Commit

Permalink
docs: add "options.require" to Mocha constructor (#4630) [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
juergba authored Apr 30, 2021
1 parent 908aa05 commit d35eb9d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/mocha.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {}) {
Expand Down

0 comments on commit d35eb9d

Please sign in to comment.