mirror of
https://github.com/zebrajr/express.git
synced 2026-01-15 12:15:27 +00:00
committed by
Douglas Christopher Wilson
parent
fa546bff85
commit
8fe5fd89c6
@@ -29,7 +29,7 @@ describe('req', function(){
|
||||
.get('/')
|
||||
.set('Cookie', cookie)
|
||||
.end(function(err, res){
|
||||
if (err) return don(err);
|
||||
if (err) return done(err);
|
||||
res.body.should.eql({ obj: { foo: 'bar' } });
|
||||
done();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user