☕️ Classic, reliable, trusted test framework for Node.js and the browser
build
TJ Holowaychuk8b92dbc1c967
diff --git a/index.html b/index.htmlindex efcfe413..5778a6f2 100644--- a/index.html+++ b/index.html@@ -37,7 +37,7 @@<li>auto-exit to prevent "hanging" with an active loop</li><li>easily meta-generate suites & test-cases</li><li>mocha.opts file support</li>-<li><code>mocha-debug(1)</code> for node debugger support</li>+<li>node debugger support</li><li>detects multiple calls to <code>done()</code></li><li>use any assertion library you want</li><li>extensible reporting, bundled with 9+ reporters</li>@@ -171,6 +171,7 @@ Options:-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--globals <names> allow the given comma-delimited global [names]--ignore-leaks ignore global variable leaks--interfaces display available interfaces@@ -181,6 +182,10 @@ Options:<p>Executes tests on changes to the test files.</p>+<h3>-d, --debug</h3>++<p>Enables node's debugger support, this executes your script(s) with <code>node debug <file ...></code> allowing you to step through code and break with the <strong>debugger</strong> statement.</p>+<h3>--globals <names></h3><p>Accepts a comma-delimited list of accepted global variable names. For example suppose your app deliberately exposes a global named <code>app</code> and <code>YUI</code>, you may want to add <code>--globals app,YUI</code>.</p>@@ -228,10 +233,6 @@ describe('app', function(){})</code></pre>-<h2>mocha-debug(1)</h2>--<p><code>mocha-debug(1)</code> is identical to <code>mocha(1)</code>, however it enables node's debugger so you may step through tests with the <strong>debugger</strong> statement.</p>-<h2>Interfaces</h2><p>Mocha "interface" system allows developers to choose their style of DSL. Shipping with <strong>BDD</strong>, <strong>TDD</strong>, and <strong>exports</strong> flavoured interfaces.</p>