We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee226dd commit 186f409Copy full SHA for 186f409
test/UnitTest/Components/AjaxTest.cs
@@ -22,9 +22,12 @@ public async Task Ajax_Test()
22
23
var service = Context.Services.GetRequiredService<AjaxService>();
24
await service.InvokeAsync(option);
25
+ }
26
- Context.RenderComponent<Ajax>();
27
- await service.InvokeAsync(option);
+ [Fact]
28
+ public async Task Goto_Test()
29
+ {
30
+ var service = Context.Services.GetRequiredService<AjaxService>();
31
await service.Goto("http://www.blazor.zone");
32
}
33
0 commit comments