Skip to content
Myr

Added instancoef Route test

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 4ffd528 · Browse files · 1 file+1 added−0 removed
This commit

State

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

Diff stats

1 file+1 added−0 removed

  • tests:+1 added−0 removed

1 file+1 added−0 removed

modified:test/express.test.js+1 added
585 unmodified lines
586 app.get('/user/:id/:op?', function(){});587 app.put('/user/:id', function(){});588 app.get('/user/:id/edit', function(){});589590 app.get('/user')[0].should.be.an.instanceof(Route);591 app.get('/user').should.have.length(1);592 app.get('/user/:id').should.have.length(1);593 app.get('/user/:id/:op?').should.have.length(1);594 app.put('/user/:id').should.have.length(1);
30 unmodified lines