mock-socket
mock-socket copied to clipboard
Fix code example
While posting answer on StackOverflow using mocket-socket, I found a few issues in the sample code.
Changes:
- Fixes trying to emit a connection when the WebSocket is not yet connected.
- Updated AVA test, resolving thoov/mock-socket#388
@Borewit Sorry for the long delay. Can you please fix the same for the socket.io part of the README?
@Borewit Sorry for the long delay. Can you please fix the same for the socket.io part of the README?
Sorry, I will keep with PR with that example. To many things on my plate.