Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.

added public initializer to WebSocketEvents #78

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

added public initializer to WebSocketEvents #78

wants to merge 1 commit into from

Conversation

mlilback
Copy link
Contributor

I've created a protocol with the WebSocket methods I use, and define WebSocket to conform to it. This is so I can run unit tests without having to open an actual network connection. However, I cannot create a mock class since there is no way to initialize a WebSocketEvent. This request adds a public init method with no parameters.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant