You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Both public classes SweetAlertService and SweetAlertMixin implement the protected interface IAsyncSweetAlertService. For unit testing our razor component we use bUnit. A convinient possibility for simulate the confirming oder denying the SweetAlert popup could be using Moq. But mocking a protected or private interface is not supported.
Describe the solution you'd like
Change the access modifier of the interface IAsyncSweetAlertService to public, if there is no special reason for the interface to be protected.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Both public classes
SweetAlertService
andSweetAlertMixin
implement the protected interfaceIAsyncSweetAlertService
. For unit testing our razor component we use bUnit. A convinient possibility for simulate the confirming oder denying the SweetAlert popup could be using Moq. But mocking a protected or private interface is not supported.Describe the solution you'd like
Change the access modifier of the interface
IAsyncSweetAlertService
topublic
, if there is no special reason for the interface to beprotected
.The text was updated successfully, but these errors were encountered: