Im doing some Unit testing to node application and I check for http response. currnlty I want to test also the http.header response for key and value which I send,what am I doing wrong ?
res.header.should.have.property['prop1'];
- Assume that I've prop1, how should I do that ?
- in addition how to assert to the value of prop1 ?