@@ -35,23 +35,28 @@ exports = module.exports = Mocha;
3535/**
3636 * A Mocha instance is a finite state machine.
3737 * These are the states it can be in.
38+ * @private
3839 */
3940var mochaStates = utils . defineConstants ( {
4041 /**
4142 * Initial state of the mocha instance
43+ * @private
4244 */
4345 INIT : 'init' ,
4446 /**
4547 * Mocha instance is running tests
48+ * @private
4649 */
4750 RUNNING : 'running' ,
4851 /**
4952 * Mocha instance is done running tests and references to test functions and hooks are cleaned.
5053 * You can reset this state by unloading the test files.
54+ * @private
5155 */
5256 REFERENCES_CLEANED : 'referencesCleaned' ,
5357 /**
5458 * Mocha instance is disposed and can no longer be used.
59+ * @private
5560 */
5661 DISPOSED : 'disposed'
5762} ) ;
@@ -67,6 +72,7 @@ if (!utils.isBrowser() && typeof module.paths !== 'undefined') {
6772
6873/**
6974 * Expose internals.
75+ * @private
7076 */
7177
7278exports . utils = utils ;
@@ -921,6 +927,7 @@ Object.defineProperty(Mocha.prototype, 'version', {
921927/**
922928 * Callback to be invoked when test execution is complete.
923929 *
930+ * @private
924931 * @callback DoneCB
925932 * @param {number } failures - Number of failures that occurred.
926933 */
@@ -1091,6 +1098,7 @@ Mocha.prototype.lazyLoadFiles = function lazyLoadFiles(enable) {
10911098
10921099/**
10931100 * An alternative way to define root hooks that works with parallel runs.
1101+ * @private
10941102 * @typedef {Object } MochaRootHookObject
10951103 * @property {Function|Function[] } [beforeAll] - "Before all" hook(s)
10961104 * @property {Function|Function[] } [beforeEach] - "Before each" hook(s)
@@ -1100,6 +1108,7 @@ Mocha.prototype.lazyLoadFiles = function lazyLoadFiles(enable) {
11001108
11011109/**
11021110 * An function that returns a {@link MochaRootHookObject}, either sync or async.
1111+ * @private
11031112 * @callback MochaRootHookFunction
11041113 * @returns {MochaRootHookObject|Promise<MochaRootHookObject> }
11051114 */
0 commit comments