mirror of
https://github.com/zebrajr/express.git
synced 2026-01-15 12:15:27 +00:00
mime export test
This commit is contained in:
@@ -12,7 +12,11 @@ describe('exports', function(){
|
||||
express.should.have.property('session');
|
||||
express.should.have.property('static');
|
||||
})
|
||||
|
||||
|
||||
it('should expose .mime', function(){
|
||||
express.mime.should.equal(require('connect').mime);
|
||||
})
|
||||
|
||||
it('should expose HTTP methods', function(){
|
||||
express.methods.should.be.an.instanceof(Array);
|
||||
express.methods.should.include('get');
|
||||
|
||||
Reference in New Issue
Block a user