socket-io-typescript-chat icon indicating copy to clipboard operation
socket-io-typescript-chat copied to clipboard

How to test the server

Open uherj opened this issue 7 years ago • 2 comments

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

uherj avatar Oct 27 '18 19:10 uherj

follow instruction on readme.md

dianjvm avatar Apr 05 '19 06:04 dianjvm

If anyone wants to contribute, it would be great to add unit tests on the client and the server side.

luixaviles avatar Feb 11 '20 22:02 luixaviles