Skip to content

Commit

Permalink
Document that there is no default timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
amokmen authored and novemberborn committed Mar 17, 2019
1 parent cd256ac commit 99a10a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/07-test-timeouts.md
Expand Up @@ -4,9 +4,9 @@ Translations: [Fran莽ais](https://github.com/avajs/ava-docs/blob/master/fr_FR/do

Timeouts in AVA behave differently than in other test frameworks. AVA resets a timer after each test, forcing tests to quit if no new test results were received within the specified timeout. This can be used to handle stalled tests.

You can configure timeouts using the `--timeout` [command line option](./05-command-line.md), or in the [configuration](./06-configuration.md).
*There is no default timeout.*

You can set timeouts in a human-readable way:
You can configure timeouts using the `--timeout` [command line option](./05-command-line.md), or in the [configuration](./06-configuration.md). They can be set in a human-readable way:

```console
npx ava --timeout=10s # 10 seconds
Expand Down

0 comments on commit 99a10a1

Please sign in to comment.