Closed joetidee closed 4 years ago
I have this code that sends the response on the server. How do I mock out writeHeader?
res.writeHeader(200, { 'Content-Type': 'text/html' }); res.write(someStuff); res.end();
Stale issue message
I have this code that sends the response on the server. How do I mock out writeHeader?