Skip to content

armgit / mocha

Public Imported from GitHub
0

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

updated help docs

Tj Holowaychukf4d6d3356261
diff --git a/Readme.md b/Readme.md
index efa8f6d1..28e83cef 100644
--- a/Readme.md
+++ b/Readme.md
@@ -43,28 +43,35 @@
```
-Usage: mocha [options] <files>
-
- Options:
-
- -h, --help output usage information
- -v, --version output the version number
- -r, --require <name> require the given module
- -R, --reporter <name> specify the reporter to use
- -u, --ui <name> specify user-interface (bdd|tdd|exports)
- -g, --grep <pattern> only run tests matching <pattern>
- -t, --timeout <ms> set test-case timeout in milliseconds [2000]
- -G, --growl enable growl support
-
- Reporters:
-
- dot - dot matrix
- json - single json object
- progress - progress bar
- list - spec-style listing
- tap - test-anything-protocol
- landing - unicode landing strip
- json-stream - newline delimited json events
+Usage: mocha [options] [files]
+
+Options:
+
+ -h, --help output usage information
+ -V, --version output the version number
+ -r, --require <name> require the given module
+ -R, --reporter <name> specify the reporter to use
+ -u, --ui <name> specify user-interface (bdd|tdd|exports)
+ -g, --grep <pattern> only run tests matching <pattern>
+ -t, --timeout <ms> set test-case timeout in milliseconds [2000]
+ -s, --slow <ms> "slow" test threshold in milliseconds [75]
+ -G, --growl enable growl support
+
+Reporters:
+
+ dot - dot matrix
+ json - single json object
+ progress - progress bar
+ list - spec-style listing
+ tap - test-anything-protocol
+ landing - unicode landing strip
+ json-stream - newline delimited json events
+
+Interfaces:
+
+ bdd - describe() / it()
+ tdd - suite() / test()
+ exports - module.exports
```