Skip to content

armgit / mocha

Public Imported from GitHub
0

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

exports example

Tj Holowaychuk84f414c4130c
diff --git a/lib/interfaces/exports.js b/lib/interfaces/exports.js
index f89fbb65..31d676d5 100644
--- a/lib/interfaces/exports.js
+++ b/lib/interfaces/exports.js
@@ -9,17 +9,17 @@ var Suite = require('../suite')
/**
* TDD-style interface:
*
- * suite('Array', function(){
- * suite('#indexOf()', function(){
- * test('should return -1 when not present', function(){
+ * exports.Array = {
+ * '#indexOf()': {
+ * 'should return -1 when the value is not present': function(){
+ *
+ * },
*
- * });
- *
- * test('should return the index when present', function(){
- *
- * });
- * });
- * });
+ * 'should return the correct index when the value is present': function(){
+ *
+ * }
+ * }
+ * };
*
*/