@@ -457,7 +457,7 @@ describe("nitro:preset:vercel", async () => {
457457 ) ;
458458 expect ( JSON . parse ( isrRouteConfig ) ) . toMatchObject ( {
459459 expiration : false ,
460- allowQuery : [ "q" , "url" ] ,
460+ allowQuery : [ "q" ] ,
461461 } ) ;
462462 } ) ;
463463
@@ -480,6 +480,7 @@ describe("nitro:preset:vercel", async () => {
480480 ) ;
481481 }
482482 }
483+ items . sort ( ) ;
483484 return items ;
484485 } ;
485486
@@ -511,10 +512,10 @@ describe("nitro:preset:vercel", async () => {
511512 "functions/api/import-meta.func (symlink)",
512513 "functions/api/kebab.func (symlink)",
513514 "functions/api/meta/test.func (symlink)",
515+ "functions/api/methods.func (symlink)",
514516 "functions/api/methods/default.func (symlink)",
515517 "functions/api/methods/foo.get.func (symlink)",
516518 "functions/api/methods/get.func (symlink)",
517- "functions/api/methods.func (symlink)",
518519 "functions/api/param/[test-id].func (symlink)",
519520 "functions/api/serialized/date.func (symlink)",
520521 "functions/api/serialized/error.func (symlink)",
@@ -531,14 +532,14 @@ describe("nitro:preset:vercel", async () => {
531532 "functions/api/typed/catchall/some/[...test].func (symlink)",
532533 "functions/api/typed/todos/[...].func (symlink)",
533534 "functions/api/typed/todos/[todoId]/comments/[...commentId].func (symlink)",
535+ "functions/api/typed/user/[userId].func (symlink)",
534536 "functions/api/typed/user/[userId]/[userExtends].func (symlink)",
535537 "functions/api/typed/user/[userId]/post/[postId].func (symlink)",
536538 "functions/api/typed/user/[userId]/post/firstPost.func (symlink)",
537- "functions/api/typed/user/[userId] .func (symlink)",
539+ "functions/api/typed/user/john .func (symlink)",
538540 "functions/api/typed/user/john/[johnExtends].func (symlink)",
539541 "functions/api/typed/user/john/post/[postId].func (symlink)",
540542 "functions/api/typed/user/john/post/coffee.func (symlink)",
541- "functions/api/typed/user/john.func (symlink)",
542543 "functions/api/upload.func (symlink)",
543544 "functions/api/wildcard/[...param].func (symlink)",
544545 "functions/assets/[id].func (symlink)",
@@ -565,14 +566,14 @@ describe("nitro:preset:vercel", async () => {
565566 "functions/rules/_/cached/[...].isr.prerender-config.json",
566567 "functions/rules/_/noncached/cached.isr.func (symlink)",
567568 "functions/rules/_/noncached/cached.isr.prerender-config.json",
568- "functions/rules/isr/[...].isr.func (symlink)",
569- "functions/rules/isr/[...].isr.prerender-config.json",
570569 "functions/rules/isr-ttl/[...].isr.func (symlink)",
571570 "functions/rules/isr-ttl/[...].isr.prerender-config.json",
572- "functions/rules/swr /[...].isr.func (symlink)",
573- "functions/rules/swr /[...].isr.prerender-config.json",
571+ "functions/rules/isr /[...].isr.func (symlink)",
572+ "functions/rules/isr /[...].isr.prerender-config.json",
574573 "functions/rules/swr-ttl/[...].isr.func (symlink)",
575574 "functions/rules/swr-ttl/[...].isr.prerender-config.json",
575+ "functions/rules/swr/[...].isr.func (symlink)",
576+ "functions/rules/swr/[...].isr.prerender-config.json",
576577 "functions/static-flags.func (symlink)",
577578 "functions/stream.func (symlink)",
578579 "functions/tasks/[...name].func (symlink)",
0 commit comments