You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently waitFor(condition: () => boolean, interval: number = 50, timeout: number = 5 * SECONDS) which is a bit unfortunate, as it's much more likely that a dev will want to customize the timeout vs. the interval.
Would be great if we took the latter two in an options object. I think it would be reasonable to do this as a breaking change, since TS should alert developers and I doubt there are all that many usages in the wild.
The text was updated successfully, but these errors were encountered:
+ Take optional `interval` and `timeout` arguments in a single options object - allow for easier (common) customization of timeout without needing to think about interval.
+ Fixes#3825
Currently
waitFor(condition: () => boolean, interval: number = 50, timeout: number = 5 * SECONDS)
which is a bit unfortunate, as it's much more likely that a dev will want to customize the timeout vs. the interval.Would be great if we took the latter two in an options object. I think it would be reasonable to do this as a breaking change, since TS should alert developers and I doubt there are all that many usages in the wild.
The text was updated successfully, but these errors were encountered: