Writing unit tests for a nodejs server

前端 未结 0 446
时光说笑
时光说笑 2021-01-31 19:16

I want to write a unit test for a nodejs server which uses websockets. I\'m struggling to export the websocket server from the server.js file and to start the server in the test

相关标签:
回答
  • 消灭零回复
提交回复
热议问题