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
.
K Merle
11/24/2021, 10:42 AM
It seems that I have to replace all ViewModel scoped components in test module.
c
Colton Idle
11/27/2021, 7:07 PM
Ooh. I just started trying to write E2E tests for my fully compose app which uses hilt. Haven't hit this issue yet though.