If I set the express.js like this:
app.set("x-powered-by", false);
How to test this?
.expect('X-Powered-By', '', done)
will throw error: Error: expected "X-Powered-By" header field
.expect('X-Powered-By', null, done)
also not works.
Thanks!