瀏覽代碼

fix: reduce the wait time to fire the callbacks

Riccardo Cipolleschi 5 年之前
父節點
當前提交
b8ee2d354e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      SwiftyStoreKitTests/ProductsInfoControllerTests.swift

+ 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