mirror of
https://github.com/zebrajr/express.git
synced 2025-12-06 00:19:48 +01:00
14 lines
249 B
JavaScript
14 lines
249 B
JavaScript
'use strict'
|
|
|
|
var express = require('../')
|
|
|
|
describe('app.listen()', function(){
|
|
it('should wrap with an HTTP server', function(done){
|
|
var app = express();
|
|
|
|
var server = app.listen(0, function () {
|
|
server.close(done)
|
|
});
|
|
})
|
|
})
|