fix types
This commit is contained in:
parent
161070bc1b
commit
466527b49a
7
packages/playwright-core/types/types.d.ts
vendored
7
packages/playwright-core/types/types.d.ts
vendored
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue