Clock seam — abstracts new Date() so cadence math is deterministic in tests. Named IMaintenanceClock (returning a Date) to avoid colliding with the experiment module's millisecond-based IClock.
new Date()
IMaintenanceClock
Date
IClock
The current instant.
Clock seam — abstracts
new Date()so cadence math is deterministic in tests. NamedIMaintenanceClock(returning aDate) to avoid colliding with the experiment module's millisecond-basedIClock.