Skip to content
Myr

Added app.match() as app.match.all()

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 ff77c8b · 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/router.test.js+1 added
238 unmodified lines
239 app.match.put('/user/100').should.have.length(1);240 app.match.get('/user/5/edit').should.have.length(2);241 app.match.get('/').should.have.be.empty;242 app.match.all('/user/123').should.have.length(3);243 app.match('/user/123').should.have.length(3);244 }245};