Anybody using `by sharedViewModel()` in a fragment...
# koin
g
Anybody using
by sharedViewModel()
in a fragment and testing it with
launchFragmentInContainer
in Espresso? Or any code sample available somewhere? I would like to see how you override the viewmodel in the espresso test cause it does not work for me:
Copy code
override fun getModule() = module(override = true) {
        viewModel {
            fragmentViewModel
        }
        
        single {
            analyticsManager
        }
    }
(
analyticsManager
injection works fine)