Added
- Restore timeout support. By default a 1-second timeout will be enforced when awaiting an event. This can be customized by supplying a
timeout
argument or by using thewithTurbineTimeout
wrapper function. Timeouts will always use wall clock time even when using a virtual time dispatcher.
Changed
- When
runTest
(or anyTestCoroutineScheduler
) is in use, switch to theUnconfinedTestScheduler
internally to ensure virtual time remains working.