Join Slack
Powered by
Is this the right way to mock a Coroutine async ta...
# mockk
h
Hexa
03/16/2019, 8:39 PM
Is this the right way to mock a Coroutine async tasks
Copy code
coEvery{ mockService.parseCarAsync(any(), any()) } returns GlobalScope.async { "testCarId" }
?
Open in Slack
Previous
Next