Skip to content

Commit

Permalink
fixed anchors to configuration section (#3841)
Browse files Browse the repository at this point in the history
  • Loading branch information
trescube authored and outsideris committed Apr 20, 2019
1 parent 07ea876 commit 63056f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/index.md
Expand Up @@ -1055,7 +1055,7 @@ Can be specified as a comma-delimited list.

> _New in v6.0.0._
Specify an explicit path to a [configuration file](#configuring-mocha-node-js).
Specify an explicit path to a [configuration file](#configuring-mocha-nodejs).

By default, Mocha will search for a config file if `--config` is not specified; use `--no-config` to suppress this behavior.

Expand All @@ -1071,7 +1071,7 @@ By default, Mocha looks for a `mocha.opts` in `test/mocha.opts`; use `--no-opts`

> _New in v6.0.0._
Specify an explicit path to a [`package.json` file](#configuring-mocha-node-js) (ostensibly containing configuration in a `mocha` property).
Specify an explicit path to a [`package.json` file](#configuring-mocha-nodejs) (ostensibly containing configuration in a `mocha` property).

By default, Mocha looks for a `package.json` in the current working directory or nearest ancestor, and will use the first file found (regardless of whether it contains a `mocha` property); to suppress `package.json` lookup, use `--no-package`.

Expand Down

0 comments on commit 63056f0

Please sign in to comment.