Skip to content

Commit f061082

Browse files
ArgoZhangdensen2014
andcommitted
test: 更新单元测试
Co-Authored-By: Alex chow <[email protected]>
1 parent 92111c6 commit f061082

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/UnitTest/Services/DrawerServiceTest.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ public async Task Show_Ok()
3636
button = cut.Find("button");
3737
await cut.InvokeAsync(() => button.Click());
3838

39+
option.Component = null;
40+
Assert.Null(option.GetContent());
41+
3942
await service.Show<DrawerDemo>();
4043
button = cut.Find("button");
4144
await cut.InvokeAsync(() => button.Click());

0 commit comments

Comments
 (0)