aboutsummaryrefslogtreecommitdiff
path: root/node_modules/mocha/lib/pending.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/mocha/lib/pending.js')
-rw-r--r--node_modules/mocha/lib/pending.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/node_modules/mocha/lib/pending.js b/node_modules/mocha/lib/pending.js
new file mode 100644
index 000000000..c847e04e3
--- /dev/null
+++ b/node_modules/mocha/lib/pending.js
@@ -0,0 +1,15 @@
+
+/**
+ * Expose `Pending`.
+ */
+
+module.exports = Pending;
+
+/**
+ * Initialize a new `Pending` error with the given message.
+ *
+ * @param {string} message
+ */
+function Pending(message) {
+ this.message = message;
+}