From 1b2841facc720364861daa1b7640817e1cfe1bf1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dar=C3=ADo=20Kondratiuk?= Date: Tue, 4 Jun 2024 09:57:33 -0400 Subject: [PATCH] restore change --- docs/src/api/class-clock.md | 2 +- packages/playwright-core/types/types.d.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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;