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
To tweak what's considered "slow", you can use the `slow()` method:
641
641
@@ -702,7 +702,7 @@ Again, use `this.timeout(0)` to disable the timeout for a hook.
702
702
703
703
Mocha supports the `err.expected` and `err.actual` properties of any thrown `AssertionError`s from an assertion library. Mocha will attempt to display the difference between what was expected, and what the assertion actually saw. Here's an example of a "string" diff:

1018
1018
1019
1019
### Dot Matrix
1020
1020
1021
1021
The dot matrix (or "dot") reporter is simply a series of characters which represent test cases. Failures highlight in red exclamation marks (`!`), pending tests with a blue comma (`,`), and slow tests as yellow. Good if you prefer minimal output.
The "JSON stream" reporter outputs newline-delimited JSON "events" as they occur, beginning with a "start" event, followed by test passes or failures, and then the final "end" event.
The "min" reporter displays the summary only, while still outputting errors on failure. This reporter works great with `--watch` as it clears the terminal in order to keep your test summary at the top.
The "doc" reporter outputs a hierarchical HTML body representation of your tests. Wrap it with a header, footer, and some styling, then you have some fantastic documentation!

1131
1131
1132
1132
### Undocumented Reporters
1133
1133
@@ -1244,20 +1244,20 @@ $ make tm
1244
1244
1245
1245
[JetBrains](http://jetbrains.com) provides a [NodeJS plugin](http://www.jetbrains.com/idea/features/nodejs.html) for its suite of IDEs (IntelliJ IDEA, WebStorm, etc.), which contains a Mocha test runner, among other things.
1246
1246
1247
-

1247
+

1248
1248
1249
1249
The plugin is titled **NodeJS**, and can be installed via **Preferences** > **Plugins**, assuming your license allows it.
1250
1250
1251
1251
### Wallaby.js
1252
1252
1253
1253
[Wallaby.js](http://wallabyjs.com) is a continuous testing tool that enables real-time code coverage for Mocha with any assertion library in JetBrains IDEs (IntelliJ IDEA, WebStorm, etc.) and Visual Studio for both browser and node.js projects.
1254
1254
1255
-

1255
+

1256
1256
1257
1257
### Emacs
1258
1258
[Emacs](https://www.gnu.org/software/emacs/) support for running Mocha tests is available via a 3rd party package [mocha.el](https://github.com/scottaj/mocha.el). The package is available on MELPA, and can be installed via `M-x package-install mocha`.
1259
1259
1260
-

1260
+

1261
1261
1262
1262
### Mocha Sidebar (VS Code)
1263
1263
@@ -1270,7 +1270,7 @@ The plugin is titled **NodeJS**, and can be installed via **Preferences** > **Pl
1270
1270
* auto run tests on file save
1271
1271
* see tests results directly in the code editor
1272
1272
1273
-

1273
+

0 commit comments