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 f251392 commit bbde7d3Copy full SHA for bbde7d3
Tests/ComposableArchitectureTests/EffectCancellationTests.swift
@@ -458,7 +458,7 @@ final class EffectCancellationTests: BaseTCATestCase {
458
try await withDependencies {
459
$0.navigationIDPath = navigationIDPath
460
} operation: {
461
- try await Task.sleep(for: .seconds(0.5))
+ try await Task.sleep(nanoseconds: NSEC_PER_SEC / 2)
462
Task.cancel(id: 1)
463
}
464
0 commit comments