Skip to content

Commit

Permalink
Slight copy update on docs for test directory
Browse files Browse the repository at this point in the history
  • Loading branch information
Munter committed Jan 23, 2018
1 parent f687d2b commit cd74322
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`, 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.
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`, since `./test/*.js` only matches files in the first level of `test` and `./test/**/*.js` only matches files in the second level of `test`.

## Editor Plugins

Expand Down

0 comments on commit cd74322

Please sign in to comment.