TestConfig
Other
Signature
declare function make(params: {
readonly repeats: number;
readonly retries: number;
readonly samples: number;
readonly shrinks: number;
}): TestConfig;TestConfig
Added in v2.0.0
Source
Signature
declare const TestConfig: Tag<TestConfig, TestConfig>;TestConfig interface
Added in v2.0.0
Source
Signature
interface TestConfig {
readonly repeats: number;
readonly retries: number;
readonly samples: number;
readonly shrinks: number;
}
The
TestConfigservice provides access to default configuration settings used by tests, including the number of times to repeat tests to ensure they are stable, the number of times to retry flaky tests, the sufficient number of samples to check from a random variable, and the maximum number of shrinkings to minimize large failures.