@@ -271,7 +271,7 @@ describe('matching on different param types', () => {
271271 path : '/optional-{-$id}' ,
272272 nav : '/optional-' ,
273273 params : { } ,
274- matchParams : { id : '' } ,
274+ matchParams : { } ,
275275 } ,
276276 {
277277 name : 'optional param with suffix and value' ,
@@ -285,14 +285,14 @@ describe('matching on different param types', () => {
285285 path : '/{-$id}-optional' ,
286286 nav : '/-optional' ,
287287 params : { } ,
288- matchParams : { id : '' } ,
288+ matchParams : { } ,
289289 } ,
290290 {
291291 name : 'optional param with required param, prefix, suffix, wildcard and no value' ,
292292 path : `/$foo/a{-$id}-optional/$` ,
293293 nav : '/bar/a-optional/qux' ,
294- params : { foo : 'bar' , id : '' , _splat : 'qux' , '*' : 'qux' } ,
295- matchParams : { foo : 'bar' , id : '' , _splat : 'qux' , '*' : 'qux' } ,
294+ params : { foo : 'bar' , _splat : 'qux' , '*' : 'qux' } ,
295+ matchParams : { foo : 'bar' , _splat : 'qux' , '*' : 'qux' } ,
296296 } ,
297297 {
298298 name : 'optional param with required param, prefix, suffix, wildcard and value' ,
0 commit comments