☕️ Classic, reliable, trusted test framework for Node.js and the browser
updated mocha --help info
TJ Holowaychuk475a0e084165
diff --git a/index.md b/index.mdindex 9c7162e1..cf7f3a23 100644--- a/index.md+++ b/index.md@@ -140,28 +140,30 @@ Testing asynchronous code with Mocha could not be simpler! Simply invoke the cal## mocha(1)- 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]- -w, --watch watch files for changes- -C, --no-colors force disabling of colors- -c, --colors force enabling of colors- -G, --growl enable growl notification support- -d, --debug enable node's debugger- -b, --bail bail after first test failure- --globals <names> allow the given comma-delimited global [names]- --ignore-leaks ignore global variable leaks- --interfaces display available interfaces- --reporters display available reporters+ Usage: mocha [debug] [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]+ -w, --watch watch files for changes+ -c, --colors force enabling of colors+ -C, --no-colors force disabling of colors+ -G, --growl enable growl notification support+ -d, --debug enable node's debugger, synonym for node --debug+ -b, --bail bail after first test failure+ --debug-brk enable node's debugger breaking on the first line+ --globals <names> allow the given comma-delimited global [names]+ --ignore-leaks ignore global variable leaks+ --interfaces display available interfaces+ --reporters display available reporters+ --compilers <ext>:<module>,... use the given module(s) to compile files### -w, --watch@@ -243,7 +245,7 @@ Testing asynchronous code with Mocha could not be simpler! Simply invoke the cal### TDD- The "__TDD__" interface provides `suite()`, `test()`, `setup()`, `teardown()`, `suiteSetup()` and `suiteTeardown()`.+ The "__TDD__" interface provides `suite()`, `test()`, `setup()`, and `teardown()`.suite('Array', function(){setup(function(){@@ -450,18 +452,15 @@ Testing asynchronous code with Mocha could not be simpler! Simply invoke the cal<script src="jquery.js"></script><script src="expect.js"></script><script src="mocha.js"></script>- <script>- mocha.setup({- ui: 'bdd'- , globals: ['foo', 'bar'] // acceptable globals- })- </script>+ <script>mocha.setup('bdd')</script><script src="test.array.js"></script><script src="test.object.js"></script><script src="test.xhr.js"></script><script>$(function(){- mocha.run()+ mocha+ .globals(['foo', 'bar']) // acceptable globals+ .run()})</script></head>@@ -557,4 +556,4 @@ Testing asynchronous code with Mocha could not be simpler! Simply invoke the cal## More information- For additional information such as using spies, mocking, and shared behaviours be sure to check out the [Mocha Wiki](https://github.com/visionmedia/mocha/wiki) on GitHub.+ For additional information such as using spies, mocking, and shared behaviours be sure to check out the [Mocha Wiki](https://github.com/visionmedia/mocha/wiki) on GitHub.\ No newline at end of file