Skip to content

Commit 4ade24e

Browse files
committed
test: 更新单元测试
1 parent 74053c0 commit 4ade24e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/UnitTest/Components/UploadAvatarTest.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ public async Task AvatarUpload_Ok()
1717
UploadFile? uploadFile = null;
1818
var cut = Context.RenderComponent<AvatarUpload<string>>(pb =>
1919
{
20+
pb.Add(a => a.CanPreviewCallback, null);
2021
pb.Add(a => a.IsMultiple, true);
2122
pb.Add(a => a.OnChange, file =>
2223
{

0 commit comments

Comments
 (0)