Przeglądaj źródła

fix: reduce the wait time to fire the callbacks

Riccardo Cipolleschi 5 lat temu
rodzic
commit
b8ee2d354e

+ 1 - 1
SwiftyStoreKitTests/ProductsInfoControllerTests.swift

@@ -160,7 +160,7 @@ class ProductsInfoControllerTests: XCTestCase {
         }
       }
     }
-    DispatchQueue.global().asyncAfter(deadline: .now() + 1) {
+    DispatchQueue.global().asyncAfter(deadline: .now()+0.1) {
       requestBuilder.fireCallbacks()
     }
     // Fullfil the expectation when every thread finishes