diff --git a/test/app.js b/test/app.js new file mode 100644 index 00000000..2080fa90 --- /dev/null +++ b/test/app.js @@ -0,0 +1,10 @@ + +var express = require('../'); + +describe('app', function(){ + it('should inherit from event emitter', function(done){ + var app = express(); + app.on('foo', done); + app.emit('foo'); + }) +})