SimulatedClock
Hierarchy
- Clock
- SimulatedClock
Implements
Implemented by
Index
Constructors
Methods
Constructors
constructor
Returns SimulatedClock
Methods
publicclearTimeout
Parameters
id: number
Returns void
increment
Parameters
ms: number
Returns void
publicnow
Returns number
set
Parameters
ms: number
Returns void
publicsetTimeout
Parameters
fn: (...args: any[]) => void
timeout: number
Returns number
start
Parameters
speed: number
Returns void