fix: Generate intervals for project

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

View file

@ -104,6 +104,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) 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.

View file

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