From 4475e335ef563ddf80041e4271d86ca76331c46e Mon Sep 17 00:00:00 2001 From: TJ Holowaychuk Date: Fri, 8 Jun 2012 09:47:45 -0700 Subject: [PATCH] mime export test --- test/exports.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/exports.js b/test/exports.js index 33e6ef78..d42c3c7d 100644 --- a/test/exports.js +++ b/test/exports.js @@ -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');