Created
August 9, 2016 16:44
-
-
Save codeslubber/87f22f9f0bae5fcaa6996e491acfe43b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let testExpectation = expectation(description: "<#description#>") | |
// do something then call fulfill (in callback) | |
testExpectation.fulfill() | |
waitForExpectations(timeout: <#timeout#>){ error in | |
if error != nil { | |
XCTFail("timed out waiting on expectation: \(testExpectation)") | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment