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 6436db0 commit 1734a95Copy full SHA for 1734a95
test/UnitTest/Components/TransferTest.cs
@@ -12,8 +12,20 @@ public void Items_Ok()
12
{
13
// 未设置 Items 为空
14
var cut = Context.RenderComponent<Transfer<string>>();
15
+ cut.Contains("class=\"bb-transfer wrap-item\"");
16
+
17
+ cut.SetParametersAndRender(pb =>
18
+ {
19
+ pb.Add(a => a.IsWrapItem, false);
20
+ });
21
cut.Contains("class=\"bb-transfer\"");
22
23
24
25
+ pb.Add(a => a.IsWrapItemText, true);
26
27
+ cut.Contains("class=\"bb-transfer wrap-item-text\"");
28
29
// 设置 Items
30
cut.SetParametersAndRender(pb =>
31
0 commit comments