From 63056f08b412fdb0908a1a829a3f37dd2bdc2ac8 Mon Sep 17 00:00:00 2001 From: Stephen Hess Date: Sat, 20 Apr 2019 00:19:12 -0400 Subject: [PATCH] fixed anchors to configuration section (#3841) --- docs/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/index.md b/docs/index.md index 0f99a5e39e..0117320279 100644 --- a/docs/index.md +++ b/docs/index.md @@ -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. @@ -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`.