Skip to content

Commit 0d0a258

Browse files
committed
test: 更新单元测试
1 parent 49eb790 commit 0d0a258

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/UnitTest/Components/TimerTest.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ public async Task OnCancel_Ok()
138138
Assert.True(buttons[1].ClassList.Contains("btn-warning"));
139139
Assert.Equal("暂停", buttons[1].GetInnerText());
140140
await cut.InvokeAsync(() => buttons[1].Click());
141+
await Task.Delay(1000);
141142

142143
// resume
143144
buttons = cut.FindAll(".timer-buttons button");

0 commit comments

Comments
 (0)