common Suite • opensavvy.prepared.suite • clock clock¶ @ExperimentalCoroutinesApi val Time.clock: Clock Creates a Clock that follows the virtual time in this test. Example¶ test("Pass the time to an external service") { val service = SomeExternalService(time.clock) } See also¶ now The current time as an Instant. Time.source Measure elapsed time.