Skip to content

Commit cd74322

Browse files
authoredJan 23, 2018
Slight copy update on docs for test directory
1 parent f687d2b commit cd74322

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎docs/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1272,7 +1272,7 @@ $ mocha --reporter list --growl
12721272

12731273
## The `test/` Directory
12741274

1275-
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.
1275+
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`.
12761276

12771277
## Editor Plugins
12781278

0 commit comments

Comments
 (0)