supertest test an action that comes after the endpoint sends headers

后端 未结 0 1107
难免孤独
难免孤独 2021-01-18 21:43

I have an endpoint where I do a task after sending the response headers. Something like this:

// util.js
exports.utilMethod = function() {}


// endpoint.js
c         


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