Join Slack
I am trying to mock a `future#await` call in the context of a DB query using Mockk DB query returns ...
# mockk
a
asad.awadia
10/03/2021, 3:07 AM
I am trying to mock a
future#await
call in the context of a DB query using Mockk DB query returns future of rowset and calling an await on that in a suspending function so that I can ‘wait’ for the rowset But the await call hangs my test..
6
Views
Open in Slack
Previous
Next
kotlinlang
A modern programming language that makes developers happier.
Powered by