9 lines
212 B
JavaScript
9 lines
212 B
JavaScript
|
|
||
|
var request = require('../request');
|
||
|
|
||
|
describe('req.header', function(){
|
||
|
it('should return the request header object', function(){
|
||
|
var req = request();
|
||
|
req.header.should.equal(req.req.headers);
|
||
|
})
|
||
|
})
|