-
-
Notifications
You must be signed in to change notification settings - Fork 119
Create mocking abstraction for JSInterop #766
Copy link
Copy link
Open
Labels
investigateThis issue require further investigation before closing.This issue require further investigation before closing.mockingneeds designMore design is needed before this issue should result in a feature being implemented.More design is needed before this issue should result in a feature being implemented.
Milestone
Metadata
Metadata
Assignees
Labels
investigateThis issue require further investigation before closing.This issue require further investigation before closing.mockingneeds designMore design is needed before this issue should result in a feature being implemented.More design is needed before this issue should result in a feature being implemented.
Lets investigate creating a "mocking" abstraction for JSInterop, such that 3rd party mocking libraries can be used instead of having a custom mocking library built into bUnit for JSInterop.
The idea is to create an set of abstractions (interfaces) that e.g. a bunit.jsinterop.mock.moq can implement, and utilize
Moqunder the hood.The reason for having an abstraction is because bUnit itself needs to be able to setup/configure JSInterop for certain first party components from Blazor.