Join Slack
Powered by
it looks like it doesnt matter what I use as my te...
# mockk
h
Hexa
03/17/2019, 10:39 AM
it looks like it doesnt matter what I use as my tests passed on either of them. But I would like to know if I'm verifying the coroutine properly
o
oleksiyp
03/17/2019, 10:43 AM
CoVerify is needed when you verify suspend function, if you are not calling suspend, just use verify
h
Hexa
03/17/2019, 10:44 AM
Ah, okay. Thanks
Hexa
03/17/2019, 10:45 AM
Then I should just use
every
instead of
coEvery
as well for my
async
function?
@oleksiyp
o
oleksiyp
03/17/2019, 10:53 AM
Yes
metal
1
Open in Slack
Previous
Next