mirror of
https://github.com/zebrajr/express.git
synced 2026-01-15 12:15:27 +00:00
committed by
Douglas Christopher Wilson
parent
60aacac167
commit
0bcdd88dd0
@@ -14,6 +14,11 @@ describe('exports', function(){
|
||||
assert.equal(express.json.length, 1)
|
||||
})
|
||||
|
||||
it('should expose raw middleware', function () {
|
||||
assert.equal(typeof express.raw, 'function')
|
||||
assert.equal(express.raw.length, 1)
|
||||
})
|
||||
|
||||
it('should expose static middleware', function () {
|
||||
assert.equal(typeof express.static, 'function')
|
||||
assert.equal(express.static.length, 2)
|
||||
|
||||
Reference in New Issue
Block a user