MCPcopy Create free account
hub / github.com/expressjs/response-time / shouldNotHaveHeader

Function shouldNotHaveHeader

test/test.js:154–158  ·  view source on GitHub ↗
(header)

Source from the content-addressed store, hash-verified

152}
153
154function shouldNotHaveHeader (header) {
155 return function (res) {
156 assert.ok(!(header.toLowerCase() in res.headers), 'should not have header ' + header)
157 }
158}

Callers 1

test.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…