Skip to content

Commit 925e178

Browse files
committed
test: 更新单元测试
1 parent 7ae0f14 commit 925e178

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

test/UnitTest/Components/TransferTest.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,16 @@ public void Items_Ok()
2828
cut.Contains("transfer-panel");
2929
}
3030

31+
[Fact]
32+
public void Height_Ok()
33+
{
34+
var cut = Context.RenderComponent<Transfer<string>>(pb =>
35+
{
36+
pb.Add(a => a.Height, "200px");
37+
});
38+
cut.Contains("--bb-transfer-height: 200px;");
39+
}
40+
3141
[Fact]
3242
public async Task EnumerableString_Value()
3343
{

0 commit comments

Comments
 (0)