Anyone doing hilt android tests with compose? I am...
# dagger
k
Anyone doing hilt android tests with compose? I am following official guide, but I am having trouble implementing it. More specifically, current I am having an issue with objects that are annotated with
@ViewModelScope
or are installed in
@ViewModelComponent
.
It seems that I have to replace all ViewModel scoped components in test module.
c
Ooh. I just started trying to write E2E tests for my fully compose app which uses hilt. Haven't hit this issue yet though.