<Can't instantiate proxy for class kotlinx.corouti...
# stackoverflow
u
Can't instantiate proxy for class kotlinx.coroutines.Deferred I am learning Kotlin, and I have been referring 'Programming Kotlin' by Venkat Subramaniam. In the chapter about testing coroutines, below snippets of code have been provided. import kotlinx.coroutines.* suspend fun getAirportStatus(airportCodes: List): List = withContext(Dispatchers.IO) { Airport.sort( airportCodes.map { code -> async { Airport.getAirportData(code) } } .map { response -> response.await() }) } The unit test for the above is written with...