Skip to content

Allow Injection of IServiceCollection into TestHost #14

@jrolstad

Description

@jrolstad

When configuring unit tests, access to the ServiceCollection is needed so that application dependencies can be registered and mocked out before the Blazor page is rendered. The TestHost needs a constructor that allows an IServiceCollection instance to be injected to allow this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions