tests: remove extraneous code from app.listen test

closes #4714
This commit is contained in:
Juan José Arboleda 2021-10-02 19:33:41 -05:00 committed by Douglas Christopher Wilson
parent fc138c108f
commit dab6ee5822

View File

@ -5,10 +5,6 @@ describe('app.listen()', function(){
it('should wrap with an HTTP server', function(done){
var app = express();
app.del('/tobi', function(req, res){
res.end('deleted tobi!');
});
var server = app.listen(9999, function(){
server.close();
done();