From 94e72890ba62fe5b54b7c84e6aab2131f955afa7 Mon Sep 17 00:00:00 2001 From: Nicolas Girault Date: Mon, 2 Apr 2018 00:00:10 +0200 Subject: [PATCH] doc precision for exclusive tests --- docs/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/index.md b/docs/index.md index ad6309af59..659d0edda6 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