I am writing an integration for my android app vie...
# squarelibraries
r
I am writing an integration for my android app view model calls into a repository which uses retrofit to make a network call (suspend functions) and then I use turbine to test the output to a StateFlow. My issue is that retrofit is making the call asynchronously and so the test completes before the call completes. How can I either (a) make the call synchronously or (b) somehow pass the TestCoroutineDIspatcher to OkHttp?