In my package.json, I have a scripts block that uses **/*Test.js to match files. When run via npm, they do not match sub-directories m
package.json
**/*Test.js
npm
The glob expansion is actually done by your shell and that's why it works from the command line.
You can do mocha --recursive and point at your test directory.
mocha --recursive