You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> _Updated in v7.0.0. Skipping a test within an "after all" hook is disallowed and will throw an exception. Use a return statement or other means to abort hook execution._
668
+
> _Updated in v7.0.0:_ skipping a test within an "after all" hook is disallowed and will throw an exception. Use a return statement or other means to abort hook execution.
670
669
671
670
Before Mocha v3.0.0, `this.skip()` was not supported in asynchronous tests and hooks.
672
671
@@ -1543,12 +1542,6 @@ Alias: `HTML`, `html`
1543
1542
1544
1543
Mocha runs in the browser. Every release of Mocha will have new builds of `./mocha.js` and `./mocha.css` for use in the browser.
1545
1544
1546
-
### Browser-specific methods
1547
-
1548
-
The following method(s) _only_ function in a browser context:
1549
-
1550
-
`mocha.allowUncaught()` : If called, uncaught errors will not be absorbed by the error handler.
1551
-
1552
1545
A typical setup might look something like the following, where we call `mocha.setup('bdd')` to use the **BDD** interface before loading the test scripts, running them `onload` with `mocha.run()`.
0 commit comments