update the tests to show a difference between send(null) and send(undefiend)
Esse commit está contido em:
+5
-1
@@ -14,6 +14,7 @@ describe('res', function(){
|
||||
|
||||
request(app)
|
||||
.get('/')
|
||||
.expect('Content-Length', '0')
|
||||
.expect('', done);
|
||||
})
|
||||
})
|
||||
@@ -28,7 +29,10 @@ describe('res', function(){
|
||||
|
||||
request(app)
|
||||
.get('/')
|
||||
.expect('', done);
|
||||
.expect('', function(req, res){
|
||||
res.header.should.not.have.property('content-length');
|
||||
done();
|
||||
});
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
Referência em uma Nova Issue
Bloquear um usuário