How can I make nock respond with an 'undefined' body?

后端 未结 0 900
春和景丽
春和景丽 2020-12-31 17:04

I\'m testing a request handler that deals with different situations and one of them expects a response with HTTP code 204 and no response body (typeof response.body ==

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