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 910590f commit b46fc08Copy full SHA for b46fc08
1 file changed
tests/bunit.core.tests/Rendering/TestRendererTest.cs
@@ -342,8 +342,7 @@ public void Test101()
342
var cut = RenderComponent<AsyncRenderOfSubComponentDuringInit>(parameters =>
343
parameters.Add(p => p.EitherOr, Task.Delay(1)));
344
345
- var h1 = cut.Find("h1");
346
- cut.WaitForAssertion(() => h1.TextContent.ShouldBe("SECOND"));
+ cut.WaitForAssertion(() => cut.Find("h1").TextContent.ShouldBe("SECOND"));
347
}
348
349
[Fact(DisplayName = "Can render component that awaits completed task in OnInitializedAsync")]
0 commit comments