Skip to content

Commit

Permalink
Increase expectation duration for a test
Browse files Browse the repository at this point in the history
  • Loading branch information
nik3212 committed Jan 17, 2024
1 parent 121bd94 commit 5cbfd07
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/IntegrationTests/Tests/StoreProductTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ final class StoreProductTests: StoreSessionTestCase {
#if swift(>=5.9)
await fulfillment(of: [expectation])
#else
wait(for: [expectation], timeout: .second)
wait(for: [expectation], timeout: .seconds)
#endif

// then
Expand Down Expand Up @@ -169,5 +169,5 @@ private extension String {
}

private extension TimeInterval {
static let second: CGFloat = 1.0
static let seconds: CGFloat = 60.0
}

0 comments on commit 5cbfd07

Please sign in to comment.