mirror of
https://github.com/zebrajr/express.git
synced 2025-12-06 12:19:51 +01:00
15 lines
261 B
JavaScript
15 lines
261 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(9999, function(){
|
|
server.close();
|
|
done();
|
|
});
|
|
})
|
|
})
|