Sunday, 14 May 2017

Test NodeJs server using udp sockets

I'm trying to write a unit test for a service that is using udp sockets. I need events on the socket in the server in order to test different scenarios. But I can't find any example code for this so I'm suspecting that I'm missing something.

How do people test these kind of things in NodeJs? (I'm using chai, if that makes any difference)



via user1716970

No comments:

Post a Comment