Commit f9ce88e
committed
[tests] add waiting for background threads to run
* OneSignalCoreMocks now has XCTest dependency
* It uses a waiter to allow the test to wait for any async calls to run, because we don't have control over all threads. For example, a test may need to wait for operation repo to run everything in the dispatch queue1 parent f062013 commit f9ce88e
File tree
2 files changed
+226
-45
lines changed- iOS_SDK/OneSignalSDK
- OneSignal.xcodeproj
- OneSignalCoreMocks
2 files changed
+226
-45
lines changed
0 commit comments