Tuesday 23 May 2017

Unit test for web socket server needs web page open in browser

I have a unit test written in mocha for node.js that tests a web socket connection and parsing that is done on the client. My problem is that I need to have the client web page open to communicate with the web socket server. Is there any way to simulate that within node.js?



via Brian Kalski

No comments:

Post a Comment