also you can forget to use
expectation.fulfill()
, that in some chain never called,
when you use:
let expectation = self.expectation(description: "testCurrentUser")
waitForExpectations(timeout: 5, handler: nil)
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: