Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

docs: update missed default extensions (#4608) [ci skip]

JeongHoon Byun (a.k.a Outsider)dc0ec8455f6e
diff --git a/docs/index.md b/docs/index.md
index 87e08e0c..32ee7125 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -2237,7 +2237,7 @@ Configurations can inherit from other modules using the `extends` keyword. See [
## The `test/` Directory
-By default, `mocha` looks for the glob `"./test/*.js"`, so you may want to put
+By default, `mocha` looks for the glob `"./test/*.{js,cjs,mjs}"`, so you may want to put
your tests in `test/` folder. If you want to include subdirectories, pass the
`--recursive` option.