Skip to content

How to wait for OnInitializedAsync with HttpClient? #105

@kenakamu

Description

@kenakamu

thanks for great library first of all.

I still cannot figure out how to unit test a page/component which has HttpClient injection and call the service in component lifecycle such as OnInitializedAsync.

Any sample or advice?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions