Skip to content

Commit

Permalink
[doc] add note explaining when jest.setTimeout should be called
Browse files Browse the repository at this point in the history
  • Loading branch information
Fredrik Teschke committed Aug 9, 2018
1 parent db28956 commit 2e4b4be
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions website/versioned_docs/version-22.2/JestObjectAPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,8 @@ Set the default timeout interval for tests and before/after hooks in millisecond

_Note: The default timeout interval is 5 seconds if this method is not called._

_Note: The method must be called after the test framework is installed in the environment and before the test runs. A good place to do this is in the `setupTestFrameworkScriptFile`._

Example:

```js
Expand Down

0 comments on commit 2e4b4be

Please sign in to comment.