mock-socket icon indicating copy to clipboard operation
mock-socket copied to clipboard

Fix code example

Open Borewit opened this issue 10 months ago • 2 comments

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 avatar Feb 02 '25 19:02 Borewit

@Borewit Sorry for the long delay. Can you please fix the same for the socket.io part of the README?

Atrue avatar Feb 07 '25 11:02 Atrue

@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.

Borewit avatar Feb 07 '25 15:02 Borewit