We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It is nice to empower anyone to build their own mocks. But, I think that Frisbee must provide a ready for use mock. Something like that:
public class MockGetter<Entity: Decodable>: Getable { var resultOnComplete: Result<Entity> var didCallGet = false // ... public func get<Entity: Decodable>(url: String, onComplete: @escaping (Result<Entity>) -> Void) { didCallGet = true completionHandler(resultOnComplete) } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
It is nice to empower anyone to build their own mocks. But, I think that Frisbee must provide a ready for use mock. Something like that:
The text was updated successfully, but these errors were encountered: