fix: Generate intervals from .md

This commit is contained in:
Hansanto 2024-03-26 11:21:36 +01:00
parent b5cc589d8d
commit f5dbd5874e
2 changed files with 6 additions and 5 deletions

View file

@ -54,6 +54,7 @@ export default defineConfig({
- `maxDiffPixelRatio` ?<[float]> an acceptable ratio of pixels that are different to the total amount of pixels, between `0` and `1` , unset by default.
- `toPass` ?<[Object]> Configuration for the [expect(value).toPass()](../test-assertions.md#expecttopass) method.
- `timeout` ?<[int]> timeout for toPass method in milliseconds.
- `intervals` ?<[Array]<[int]>> probe intervals for toPass method in milliseconds.
Configuration for the `expect` assertion library. Learn more about [various timeouts](../test-timeouts.md).

View file

@ -702,6 +702,11 @@ interface TestConfig {
* timeout for toPass method in milliseconds.
*/
timeout?: number;
/**
* probe intervals for toPass method in milliseconds.
*/
intervals?: Array<number>;
};
};
@ -8596,11 +8601,6 @@ interface TestProject {
* timeout for toPass method in milliseconds.
*/
timeout?: number;
/**
* interval for toPass method in milliseconds.
*/
intervals?: number[];
};
};