socket-io-typescript-chat
socket-io-typescript-chat copied to clipboard
How to test the server
Hi, I am trying to figure out how to test the server side. I am using mocha, chai and sinon but really don't know how to emulate a websocket client on the server side so that I can test its flow. Could you help or suggest what client to use to initiate connect from the test?
Thank you. Kind regards, Jarek
follow instruction on readme.md
If anyone wants to contribute, it would be great to add unit tests on the client and the server side.