Hello, I have 2 intent functions, one is private. ...
# orbit-mvi
a
Hello, I have 2 intent functions, one is private. So the public calls the private one. While testing, I couldn't verify the emitted states from the private functions, somehow it's not emitted. Until I change the private function to internal then call that function itself within
testIntent{}
before I could verify emitted states
m
Intents are isolated within tests, which means only the first one gets executed. You can turn this off using a setting
Copy code
SomeViewModel().test(
            initialState = initialState,
            buildSettings = {
                isolateFlow = false
            }
        )
This is something we're going to address going forward
a
Okay thanks. I appreciate your work on orbit. ♥️♥️