Closed gwhelanLD closed 2 years ago
This uses the URLSessionConfiguration configuration option to insert a custom URLProtocol that mocks the network responses.
URLSessionConfiguration
URLProtocol
This pull request has been linked to Shortcut Story #126109: Swift EventSource library should have end to end unit tests.
This uses the
URLSessionConfiguration
configuration option to insert a customURLProtocol
that mocks the network responses.