Added event emitter inheritance test

This commit is contained in:
Tj Holowaychuk
2011-11-24 12:10:08 -08:00
parent 11faf6684e
commit f2719411b7

10
test/app.js Normal file
View File

@@ -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');
})
})