11 lines
250 B
JavaScript
11 lines
250 B
JavaScript
|
|
'use strict';
|
|
|
|
const request = require('../helpers/context').request;
|
|
|
|
describe('req.header', function(){
|
|
it('should return the request header object', function(){
|
|
const req = request();
|
|
req.header.should.equal(req.req.headers);
|
|
});
|
|
});
|