阅读背景:

NodeJS:如何为测试服务器创建一个假的tcp套接字

来源:互联网 

I'm trying to unit test my server code (non-http, custom protocol). I need to create a mock duplex socket that I can send messages to asynchronously and receive messages from.I'm trying to unit test my server code (non-htt




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: