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 a1be14f commit 72afd70Copy full SHA for 72afd70
test/UnitTest/Components/DialogCloseButtonTest.cs
@@ -12,8 +12,10 @@ public void Icon_Ok()
12
{
13
var cut = Context.RenderComponent<DialogCloseButton>();
14
Assert.Equal("fa-solid fa-xmark", cut.Instance.Icon);
15
+ cut.Contains("fa-solid fa-xmark");
16
17
cut.SetParametersAndRender(pb => pb.Add(p => p.Icon, "test-icon"));
18
Assert.Equal("test-icon", cut.Instance.Icon);
19
+ cut.Contains("test-icon");
20
}
21
0 commit comments