Skip to content

Commit

Permalink
docs: more clarification on setDefaultTimeout
Browse files Browse the repository at this point in the history
  • Loading branch information
davidjgoss authored Jun 3, 2021
1 parent 07978ef commit 097ef26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/support_files/timeouts.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Given(/^a slow step$/, {timeout: 60 * 1000}, function() {
});
```

*Note that you should not call `setDefaultTimeout` from within a hook or step; it should be called globally.*
*Note that you should not call `setDefaultTimeout` from within other support code e.g. a step, hook or your World class; it should be called globally.*

## Disable Timeouts

Expand Down

0 comments on commit 097ef26

Please sign in to comment.