@@ -256,7 +256,7 @@ describe("shouldRevalidate", () => {
256256 nextParams : { } ,
257257 nextUrl : expect . urlMatch ( "http://localhost/child" ) ,
258258 defaultShouldRevalidate : true ,
259- formMethod : "post " ,
259+ formMethod : "POST " ,
260260 formAction : "/child" ,
261261 formEncType : "application/x-www-form-urlencoded" ,
262262 actionResult : "ACTION" ,
@@ -310,7 +310,7 @@ describe("shouldRevalidate", () => {
310310 nextParams : { } ,
311311 nextUrl : expect . urlMatch ( "http://localhost/" ) ,
312312 defaultShouldRevalidate : true ,
313- formMethod : "post " ,
313+ formMethod : "POST " ,
314314 formAction : "/child" ,
315315 formEncType : "application/x-www-form-urlencoded" ,
316316 actionResult : undefined ,
@@ -364,7 +364,7 @@ describe("shouldRevalidate", () => {
364364 nextParams : { } ,
365365 nextUrl : expect . urlMatch ( "http://localhost/child" ) ,
366366 defaultShouldRevalidate : true ,
367- formMethod : "post " ,
367+ formMethod : "POST " ,
368368 formAction : "/child" ,
369369 formEncType : "application/x-www-form-urlencoded" ,
370370 actionResult : "ACTION" ,
@@ -406,7 +406,7 @@ describe("shouldRevalidate", () => {
406406 // @ts -expect-error
407407 let arg = shouldRevalidate . mock . calls [ 0 ] [ 0 ] ;
408408 let expectedArg : Partial < ShouldRevalidateFunctionArgs > = {
409- formMethod : "post " ,
409+ formMethod : "POST " ,
410410 formAction : "/" ,
411411 formEncType : "application/json" ,
412412 text : undefined ,
@@ -448,7 +448,7 @@ describe("shouldRevalidate", () => {
448448 // @ts -expect-error
449449 let arg = shouldRevalidate . mock . calls [ 0 ] [ 0 ] ;
450450 let expectedArg : Partial < ShouldRevalidateFunctionArgs > = {
451- formMethod : "post " ,
451+ formMethod : "POST " ,
452452 formAction : "/" ,
453453 formEncType : "text/plain" ,
454454 text : "hello world" ,
@@ -657,7 +657,7 @@ describe("shouldRevalidate", () => {
657657 formAction : "/child" ,
658658 formData : createFormData ( { } ) ,
659659 formEncType : "application/x-www-form-urlencoded" ,
660- formMethod : "post " ,
660+ formMethod : "POST " ,
661661 defaultShouldRevalidate : true ,
662662 } ) ;
663663
@@ -715,7 +715,7 @@ describe("shouldRevalidate", () => {
715715 "formAction": "/fetch",
716716 "formData": FormData {},
717717 "formEncType": "application/x-www-form-urlencoded",
718- "formMethod": "post ",
718+ "formMethod": "POST ",
719719 "json": undefined,
720720 "nextParams": {},
721721 "nextUrl": "http://localhost/",
@@ -779,7 +779,7 @@ describe("shouldRevalidate", () => {
779779 "formAction": "/fetch",
780780 "formData": FormData {},
781781 "formEncType": "application/x-www-form-urlencoded",
782- "formMethod": "post ",
782+ "formMethod": "POST ",
783783 "json": undefined,
784784 "nextParams": {},
785785 "nextUrl": "http://localhost/",
0 commit comments