testTimeout
- Type:
number - Default:
5_000 - CLI:
--testTimeout=5000
Default timeout of a test in milliseconds. 0 will disable the timeout.
Rstest determines the test timeout based on the following priority order:
- timeout configuration in each test case
- Timeout configured in the test file via
rstest.setConfig({ testTimeout }) --testTimeoutoption in CLItestTimeoutoption in the configuration file- Default value of
5000milliseconds