From 7cb85db9a5864a70e3b53a921922c26f958d9af0 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