Skip to content

armgit / mocha

Public Imported from GitHub
0

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

Mark `.skip()` as public API

Mislav Marohnićda2fadc73dd1
diff --git a/lib/runnable.js b/lib/runnable.js
index 0bac606f..707f9559 100644
--- a/lib/runnable.js
+++ b/lib/runnable.js
@@ -125,7 +125,7 @@ Runnable.prototype.enableTimeouts = function(enabled) {
/**
* Halt and mark as pending.
*
- * @api private
+ * @api public
*/
Runnable.prototype.skip = function() {
throw new Pending();