diff --git a/docs/src/api/class-clock.md b/docs/src/api/class-clock.md index 95fa0b69d3..31115db41b 100644 --- a/docs/src/api/class-clock.md +++ b/docs/src/api/class-clock.md @@ -106,7 +106,7 @@ Returns fake milliseconds since the unix epoch. * since: v1.45 - returns: <[int]> -Advances the clock to the the moment of the first scheduled timer, firing it. +Advances the clock to the moment of the first scheduled timer, firing it. Fake timers must be installed. Returns fake milliseconds since the unix epoch. diff --git a/packages/playwright-core/types/types.d.ts b/packages/playwright-core/types/types.d.ts index 92a3b130df..dc91c655f0 100644 --- a/packages/playwright-core/types/types.d.ts +++ b/packages/playwright-core/types/types.d.ts @@ -17311,8 +17311,8 @@ export interface Clock { runToLastTimer(): Promise; /** - * Advances the clock to the the moment of the first scheduled timer, firing it. Fake timers must be installed. - * Returns fake milliseconds since the unix epoch. + * Advances the clock to the moment of the first scheduled timer, firing it. Fake timers must be installed. Returns + * fake milliseconds since the unix epoch. */ runToNextTimer(): Promise;