Thread
#dagger
    K Merle

    K Merle

    10 months ago
    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.
    Colton Idle

    Colton Idle

    10 months ago
    Ooh. I just started trying to write E2E tests for my fully compose app which uses hilt. Haven't hit this issue yet though.