python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Mock ProtectedSessionStorage for Blazor
Is there a way to Mock ProtectedSessionStorage in a Blazor Server Side project?
I tried below code but I am getting error : "Type to mock (ProtectedSessionStorage) must be an interface, a delegat...
harry777
Votes: 0
Answers: 1
bunit Validate NavigationManager Url on async button click
I have a component that has two buttons, one to delete a customer and then returns to the customer list and the second a cancel button that returns to a list of customers.
<td class="text-righ...
BankMan101
Votes: 0
Answers: 1
bunit wait until OnInitializedAsync finishes before Asserting fields
I have a blazor server component that load its customers into a table, it gets the customers in the OnInitializedAsync method. Is there a way to wait for the OnInitializedAsync to complete?
Component
...
BankMan101
Votes: 0
Answers: 1
.net blazor wasm testing bunit with localization
I'm building a blazor webassembly site and I want to use bunit for testing purpose.
I run into trouble with components that use localization, I am getting the following error:
System.InvalidOperation...
Taco
Votes: 0
Answers: 1