How can I mock coroutines `Deferred.await()`? When...
# mockk
h
How can I mock coroutines
Deferred.await()
? When I do
every { deferred.await() } returns sth
I got this error “suspend function should be called only from a coroutine or another suspend function” should I wrap the whole thing into a coroutines block? or what is the best way to do it?