server.close() gives “server not running” in afterEach mocha hook

后端 未结 0 1351
广开言路
广开言路 2020-12-29 14:40

I\'m trying to run a test suite with mocha, the goal is to start the server beforeEach test case and then close it afterEach test case.

But for some reason when the a

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