Skip to content
Myr

update the tests to show a difference between `send(null)` and `send(undefiend)`

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Veselin Todorov · committed by Veselin Todorov · parent 7018d3d · Browse files · 1 file+5 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+5 added−1 removed

  • tests:+5 added−1 removed

1 file+5 added−1 removed

modified:test/res.send.js+5 added-1 removed
12 unmodified lines
13 });1415 request(app)16 .get('/')17 .expect('Content-Length', '0')18 .expect('', done);19 })20 })21
6 unmodified lines
28 });2930 request(app)31 .get('/')31 .expect('', done);32 .expect('', function(req, res){33 res.header.should.not.have.property('content-length');34 done();35 });36 })37 })3839 describe('.send(code)', function(){
359 unmodified lines