Skip to content

Commit

Permalink
docs: add "require" to Mocha constructor [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
juergba committed Apr 24, 2021
1 parent 34643e4 commit 1e0935c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/mocha.js
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 {require} [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 1e0935c

Please sign in to comment.