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 fa6d331 commit 7c0532bCopy full SHA for 7c0532b
Tests/OAuthenticatorTests/AuthenticatorTests.swift
@@ -480,7 +480,7 @@ final class AuthenticatorTests: XCTestCase {
480
XCTAssertTrue(savedLogins.isEmpty, "Login storage should not be updated after first request")
481
482
// Let the token expire
483
- try await Task.sleep(for: .seconds(1))
+ try await Task.sleep(nanoseconds: 1 * NSEC_PER_SEC)
484
485
let (_, _) = try await auth.response(for: URLRequest(url: URL(string: "https://example.com")!))
486
let sentRequestsTwo = await requestContainer.sentRequests
0 commit comments