From d01b4b773ebf814b08bfdc2ea391f9bc8a3c6a99 Mon Sep 17 00:00:00 2001 From: Craig Taub Date: Wed, 6 May 2020 11:07:58 +0100 Subject: [PATCH] Add note about async tests --- docs/index.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/index.md b/docs/index.md index 492bf21351..415430a3d4 100644 --- a/docs/index.md +++ b/docs/index.md @@ -810,6 +810,7 @@ Again, use `this.timeout(0)` to disable the timeout for a hook. > In v3.0.0 or newer, a parameter passed to `this.timeout()` greater than the [maximum delay value][mdn-settimeout-maxdelay] will cause the timeout to be disabled. > In v8.0.0 or newer, `this.enableTimeouts()` has been removed. +> **Warning:** With async tests if you disable timeouts via `this.timeout(0)` and then do not call `done()`, your test will exit silently. ## Diffs