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 c1d214e commit b2a5e70Copy full SHA for b2a5e70
1 file changed
test/UnitTest/Components/SelectGenericTest.cs
@@ -868,12 +868,13 @@ public async Task IsEditable_Ok()
868
// 覆盖返回 null 逻辑
869
cut.SetParametersAndRender(pb =>
870
{
871
- pb.Add(a => a.TextConvertToValueCallback, v =>
+ pb.Add(a => a.TextConvertToValueCallback, async v =>
872
873
- return Task.FromResult((string?)null);
+ await Task.Yield();
874
+ return null;
875
});
876
- Assert.Equal("Test4", cut.Instance.Value);
877
+ await cut.InvokeAsync(() => { input.Change("Test3"); });
878
}
879
880
[Fact]
0 commit comments