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 Moq under 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.
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.