Skip to content

armgit / mocha

Public Imported from GitHub
0

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

doc precision for exclusive tests

Nicolas Girault94e72890ba62
diff --git a/docs/index.md b/docs/index.md
index ad6309af..659d0edd 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -518,7 +518,7 @@ describe('Array', function() {
*Note*: Hooks, if present, will still be executed.
-> Be mindful not to commit usages of `.only()` to version control, unless you really mean it!
+> Be mindful not to commit usages of `.only()` to version control, unless you really mean it! To do so one can run mocha with the option `--forbid-only` in the continuous integration test command (or in a git precommit hook).
## Inclusive Tests