How do I test what was emitted from the view model...
# orbit-mvi
r
How do I test what was emitted from the view model?
m
don’t use
.test
but simply do
AnalyticsConsentViewModel(prefs).container.stateFlow.value
to retrieve the initial state
but this is dependent on not running any intents in
onCreate
this is a limitation of our current test framework that we should fix