mirror of
https://github.com/zebrajr/express.git
synced 2026-01-15 12:15:27 +00:00
tests: fix inconsistent test
This commit is contained in:
@@ -34,6 +34,8 @@ describe('HEAD', function(){
|
||||
.get('/tobi')
|
||||
.expect(200, function(err, res){
|
||||
if (err) return done(err);
|
||||
delete headers.date;
|
||||
delete res.headers.date;
|
||||
assert.deepEqual(res.headers, headers);
|
||||
done();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user