A clock that moves only when it is told to. Every time in the SDK is an input, so a scenario that spans days runs in milliseconds: the clock is the single place where "now" comes from. All values are NumericDate seconds.
Moves the clock forward by seconds (zero or more) and returns the new time.
seconds
The current simulated time.
Puts the clock at t, forwards or backwards.
t
A clock that moves only when it is told to. Every time in the SDK is an input, so a scenario that spans days runs in milliseconds: the clock is the single place where "now" comes from. All values are NumericDate seconds.