Skip to content

Commit 9e34fd6

Browse files
committed
fix: ForceYielding
1 parent 7eda5c3 commit 9e34fd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/bunit.tests/BunitContextTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ private sealed class AsyncThrowAfterDelayComponent : ComponentBase, IAsyncDispos
280280
{
281281
public async ValueTask DisposeAsync()
282282
{
283-
await Task.Delay(1);
283+
await Task.Delay(1).ConfigureAwait(ConfigureAwaitOptions.ForceYielding);
284284
throw new NotSupportedException();
285285
}
286286
}

0 commit comments

Comments
 (0)