awaitTimeout

suspend fun awaitTimeout(timeout: Duration)(source)

Replacement for delay in tests