Skip to content
Myr

expose Route

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Tj Holowaychuk · committed by Tj Holowaychuk · parent 74310fb · Browse files · 2 files+6 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+6 added−2 removed

  • tests:+3 added−1 removed
  • other:+3 added−1 removed

2 files+6 added−2 removed

modified:lib/express.js+3 added-1 removed
modified:test/express.test.js+3 added-1 removed
4 unmodified lines
56var express = require('express')7 , connect = require('connect')8 , assert = require('assert')9 , should = require('should');9 , should = require('should')10 , Route = express.Route;1112module.exports = {13 'test inheritance': function(){14 var server = express.createServer();
2 unmodified lines
1718 'test constructor exports': function(){19 express.should.have.property('HTTPServer');20 express.should.have.property('HTTPSServer');21 express.should.have.property('Route');22 },23 24 'test connect middleware autoloaders': function(){25 express.errorHandler.should.equal(connect.errorHandler);
598 unmodified lines