Hi people, I’m working with `mockk` and I have an ...
# test
b
Hi people, I’m working with
mockk
and I have an
every
call that returns a list but I’m getting an error
o.mockk.MockKException: Bad recording sequence. Please finalize every { ... } block with returns/answers/just Runs
, I changed to
answers {}
and it worked perfectly and I don’t know why. Does anyone have ever go through this issue?
l
This is likely more in-topic for #mockk
👍 1
But what is your complete call? Perhaps I can help
👍 1
c
@RelaxedMockk (or forgot the name) should solve your problem with this, it will add all missing answers for your (i think(
👍 1
b
I solved the problem by doing the upgrade of the lib it was an issue
Many Thanks folks!