launchdarkly / swift-eventsource

Server-sent events (SSE) client implementation in Swift for iOS, macOS, tvOS, and watchOS
https://launchdarkly.github.io/swift-eventsource/
Other
187 stars 34 forks source link

[126109] Add mock end to end network tests #34

Closed gwhelanLD closed 2 years ago

gwhelanLD commented 2 years ago

This uses the URLSessionConfiguration configuration option to insert a custom URLProtocol that mocks the network responses.

shortcut-integration[bot] commented 2 years ago

This pull request has been linked to Shortcut Story #126109: Swift EventSource library should have end to end unit tests.