Skip to content

Commit

Permalink
update docs for the glob
Browse files Browse the repository at this point in the history
  • Loading branch information
outsideris authored and Munter committed Jan 23, 2018
1 parent 14fc030 commit f687d2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/index.md
Expand Up @@ -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

Expand Down

0 comments on commit f687d2b

Please sign in to comment.