I have another proposal on testing :grimacing: <ht...
# orbit-mvi
o
I have another proposal on testing 😬 https://github.com/orbit-mvi/orbit-mvi/pull/52
👍 2
m
Good point, we missed this case
I mean arguably you could move the
if
inside the
intent
but I don’t see why we shouldn’t allow both - we shouldn’t throw an exception perhaps
if the saved intents is empty we should just do nothing
o
I like the default behaviour – just to remind the user why he is invoking this testIntent method
I just wanna have an ability to override the default behaviour cause clearly there is a case when you dont always would call the intent underneath
m
true, but adding a switch for this complicates the API layer
it’s not immediately intuitive
o
agree 🤔
m
on balance, I think we shouldn’t throw an exception
another great find 🙂
o
okay, I’ll update my changes then shortly
🙇‍♂️ 1