We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6bb0245 commit 2a19572Copy full SHA for 2a19572
src/CommunityToolkit.Maui.UnitTests/Layouts/StateContainerTests.cs
@@ -216,6 +216,7 @@ public async Task StateContainer_DefaultAnimation_Timeout()
216
}
217
218
var cancelledTokenSource = new CancellationTokenSource(TimeSpan.FromMicroseconds(1));
219
+ await Task.Delay(10, TestContext.Current.CancellationToken);
220
await Assert.ThrowsAsync<OperationCanceledException>(() => StateContainer.ChangeStateWithAnimation(layout, StateKey.Error, cancelledTokenSource.Token));
221
222
0 commit comments