Skip to content

Commit

Permalink
Add note about async tests
Browse files Browse the repository at this point in the history
  • Loading branch information
craigtaub committed May 6, 2020
1 parent f2e1b2a commit d01b4b7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit d01b4b7

Please sign in to comment.