From f687d2b0fb2e04b9ec9edfdfe58ce3ea513de369 Mon Sep 17 00:00:00 2001 From: Outsider Date: Tue, 23 Jan 2018 18:43:13 +0900 Subject: [PATCH] update docs for the glob --- docs/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/index.md b/docs/index.md index 86b53b70be..214a71eda5 100644 --- a/docs/index.md +++ b/docs/index.md @@ -1272,7 +1272,7 @@ $ mocha --reporter list --growl ## The `test/` Directory -By default, `mocha` looks for the glob `./test/*.js` and `./test/*.coffee`, so you may want to put your tests in `test/` folder. +By default, `mocha` looks for the glob `./test/*.js`, so you may want to put your tests in `test/` folder. If you want to include sub directories, use `--recursive`, because of `./test/*.js` is only matched with files which in the first depth of `test` directory and `./test/**/*.js` is only matched with files which in the second depth of `test` directory. ## Editor Plugins