Skip to content

Endless join of waitChildrenCompletion with TestViewModelScopeRule #23

Description

@Tetraquark

If some inheritor of ViewModel has any endless collectors of Flow (e.g. launch coroutine in init block for some Flow from abstract repository or collect data using extension asLiveData from moko-mvvm), then waitChildrenCompletion will start endless join of that endless collector coroutines. So, the test will never end.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions