Skip to content

armgit / mocha

Public Imported from GitHub
0

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

chore: document CJS and MJS config file priority (#5923)

Mark Wiemer09a11062c701
diff --git a/lib/cli/config.js b/lib/cli/config.js
index 33043fa6..bc163ddc 100644
--- a/lib/cli/config.js
+++ b/lib/cli/config.js
@@ -21,6 +21,7 @@ const utils = require("../utils");
* The user should still be able to explicitly specify a file.
* @private
*/
+// This is documented publicly in `configuring.mdx`
exports.CONFIG_FILES = [
".mocharc.cjs",
".mocharc.js",