MCPcopy Index your code
hub / github.com/expressjs/session / shouldNotHaveHeader

Function shouldNotHaveHeader

test/session.js:2700–2704  ·  view source on GitHub ↗
(header)

Source from the content-addressed store, hash-verified

2698}
2699
2700function shouldNotHaveHeader(header) {
2701 return function (res) {
2702 assert.ok(!(header.toLowerCase() in res.headers), 'should not have ' + header + ' header')
2703 }
2704}
2705
2706function shouldNotSetSessionInStore(store) {
2707 var _set = store.set

Callers 1

session.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected