Properties
Creates a Clock that follows the virtual time in this test.
Access the current virtual time within this test, as an Instant.
Accesses the current time inside the test, in milliseconds.
Accessor for the underlying TestCoroutineScheduler, which controls the current time.
Access a time source which can be used to measure elapsed time, as controlled with time.
Functions
Advances the current time by delay.
Runs all enqueued tasks in the specified order, advancing the virtual time as needed until there are no more scheduled tasks.
Delays until the virtual time reaches instant, executing all enqueued tasks in order.
Delays until the virtual time reaches isoString, formatted as an ISO 8601 timestamp, executing all enqueued tasks in order.
Runs all enqueued tasks at this moment in the virtual time.