hookTimeout
- Type:
number - Default:
10_000 - CLI:
--hookTimeout=10000
Default timeout of hook in milliseconds. 0 will disable the timeout.
Rstest determines the hook timeout based on the following priority order:
- timeout configuration in each test case
- Timeout configured in the test file via
rstest.setConfig({ hookTimeout }) --hookTimeoutoption in CLIhookTimeoutoption in the configuration file- Default value of
10_000milliseconds