@@ -275,6 +275,7 @@ test.group('Store | match', () => {
275275 } ,
276276 params : { } ,
277277 subdomains : { } ,
278+ routeKey : 'GET-/' ,
278279 } )
279280 } )
280281
@@ -302,6 +303,7 @@ test.group('Store | match', () => {
302303 username : 'virk' ,
303304 } ,
304305 subdomains : { } ,
306+ routeKey : 'GET-/:username' ,
305307 } )
306308 } )
307309
@@ -329,6 +331,7 @@ test.group('Store | match', () => {
329331 username : 'virk' ,
330332 } ,
331333 subdomains : { } ,
334+ routeKey : 'GET-/:username?' ,
332335 } )
333336
334337 assert . deepEqual ( store . match ( '/' , 'GET' ) , {
@@ -340,6 +343,7 @@ test.group('Store | match', () => {
340343 } ,
341344 params : { } ,
342345 subdomains : { } ,
346+ routeKey : 'GET-/:username?' ,
343347 } )
344348 } )
345349
@@ -376,6 +380,7 @@ test.group('Store | match', () => {
376380 username : 'virk' ,
377381 } ,
378382 subdomains : { } ,
383+ routeKey : 'GET-/:username' ,
379384 } )
380385 } )
381386
@@ -416,6 +421,7 @@ test.group('Store | match', () => {
416421 id : '1' ,
417422 } ,
418423 subdomains : { } ,
424+ routeKey : 'GET-/:id' ,
419425 } )
420426 } )
421427
@@ -457,6 +463,7 @@ test.group('Store | match', () => {
457463 id : '1' ,
458464 } ,
459465 subdomains : { } ,
466+ routeKey : 'foo.com-GET-/:id' ,
460467 } )
461468 } )
462469
@@ -491,6 +498,7 @@ test.group('Store | match', () => {
491498 subdomains : {
492499 subdomain : 'blog' ,
493500 } ,
501+ routeKey : ':subdomain.adonisjs.com-GET-/:id' ,
494502 } )
495503 } )
496504
@@ -568,6 +576,7 @@ test.group('Store | match', () => {
568576 params : {
569577 } ,
570578 subdomains : { } ,
579+ routeKey : 'GET-/users/:id?' ,
571580 } )
572581 } )
573582
@@ -597,6 +606,7 @@ test.group('Store | match', () => {
597606 id : '1' ,
598607 } ,
599608 subdomains : { } ,
609+ routeKey : 'GET-/users/:id?' ,
600610 } )
601611 } )
602612} )
0 commit comments