You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 4, 2018. It is now read-only.
By default, mocha looks for the glob ./test/*.js and ./test/*.coffee, so you may want to put your tests in test/ folder.
This is inaccurate in one big way and one small way.
Big way: .coffee no longer used by default.
Small way: technically, the default glob is test; when a directory is specified Mocha looks in it for *.js files (or *.{js,<other extensions from --compilers}) or for **/*.js files when --recursive is specified. This is really only important if you need to understand adding *.{<extensions>} when replacing --compilers or if you need to understand --recursive, but we do occasionally get people confused about the interaction between globbing and --recursive...
The text was updated successfully, but these errors were encountered:
Here: https://mochajs.org/#the-test-directory
Currently says:
This is inaccurate in one big way and one small way.
Big way:
.coffee
no longer used by default.Small way: technically, the default glob is
test
; when a directory is specified Mocha looks in it for*.js
files (or*.{js,<other extensions from --compilers}
) or for**/*.js
files when--recursive
is specified. This is really only important if you need to understand adding*.{<extensions>}
when replacing--compilers
or if you need to understand--recursive
, but we do occasionally get people confused about the interaction between globbing and--recursive
...The text was updated successfully, but these errors were encountered: