fix types

This commit is contained in:
Simon Knott 2024-10-07 09:58:51 +02:00
parent 161070bc1b
commit 466527b49a
No known key found for this signature in database
GPG key ID: 8CEDC00028084AEC

View file

@ -18542,6 +18542,10 @@ export interface Clock {
/** /**
* Makes `Date.now` and `new Date()` return fixed fake time at all times, keeps all the timers running. * Makes `Date.now` and `new Date()` return fixed fake time at all times, keeps all the timers running.
* *
* Use this method for simple scenarios where you only need to test with a predefined time. For more advanced
* scenarios, use [clock.install([options])](https://playwright.dev/docs/api/class-clock#clock-install) instead. Read
* docs on [clock emulation](https://playwright.dev/docs/clock) to learn more.
*
* **Usage** * **Usage**
* *
* ```js * ```js
@ -18558,9 +18562,6 @@ export interface Clock {
* Sets system time, but does not trigger any timers. Use this to test how the web page reacts to a time shift, for * Sets system time, but does not trigger any timers. Use this to test how the web page reacts to a time shift, for
* example switching from summer to winter time, or changing time zones. * example switching from summer to winter time, or changing time zones.
* *
* Don't use together with [clock.install([options])](https://playwright.dev/docs/api/class-clock#clock-install). Read
* docs on [clock emulation](https://playwright.dev/docs/clock) to learn more.
*
* **Usage** * **Usage**
* *
* ```js * ```js