@@ -256,7 +256,7 @@ describe("shouldRevalidate", () => {
256
256
nextParams : { } ,
257
257
nextUrl : expect . urlMatch ( "http://localhost/child" ) ,
258
258
defaultShouldRevalidate : true ,
259
- formMethod : "post " ,
259
+ formMethod : "POST " ,
260
260
formAction : "/child" ,
261
261
formEncType : "application/x-www-form-urlencoded" ,
262
262
actionResult : "ACTION" ,
@@ -310,7 +310,7 @@ describe("shouldRevalidate", () => {
310
310
nextParams : { } ,
311
311
nextUrl : expect . urlMatch ( "http://localhost/" ) ,
312
312
defaultShouldRevalidate : true ,
313
- formMethod : "post " ,
313
+ formMethod : "POST " ,
314
314
formAction : "/child" ,
315
315
formEncType : "application/x-www-form-urlencoded" ,
316
316
actionResult : undefined ,
@@ -364,7 +364,7 @@ describe("shouldRevalidate", () => {
364
364
nextParams : { } ,
365
365
nextUrl : expect . urlMatch ( "http://localhost/child" ) ,
366
366
defaultShouldRevalidate : true ,
367
- formMethod : "post " ,
367
+ formMethod : "POST " ,
368
368
formAction : "/child" ,
369
369
formEncType : "application/x-www-form-urlencoded" ,
370
370
actionResult : "ACTION" ,
@@ -406,7 +406,7 @@ describe("shouldRevalidate", () => {
406
406
// @ts -expect-error
407
407
let arg = shouldRevalidate . mock . calls [ 0 ] [ 0 ] ;
408
408
let expectedArg : Partial < ShouldRevalidateFunctionArgs > = {
409
- formMethod : "post " ,
409
+ formMethod : "POST " ,
410
410
formAction : "/" ,
411
411
formEncType : "application/json" ,
412
412
text : undefined ,
@@ -448,7 +448,7 @@ describe("shouldRevalidate", () => {
448
448
// @ts -expect-error
449
449
let arg = shouldRevalidate . mock . calls [ 0 ] [ 0 ] ;
450
450
let expectedArg : Partial < ShouldRevalidateFunctionArgs > = {
451
- formMethod : "post " ,
451
+ formMethod : "POST " ,
452
452
formAction : "/" ,
453
453
formEncType : "text/plain" ,
454
454
text : "hello world" ,
@@ -657,7 +657,7 @@ describe("shouldRevalidate", () => {
657
657
formAction : "/child" ,
658
658
formData : createFormData ( { } ) ,
659
659
formEncType : "application/x-www-form-urlencoded" ,
660
- formMethod : "post " ,
660
+ formMethod : "POST " ,
661
661
defaultShouldRevalidate : true ,
662
662
} ) ;
663
663
@@ -715,7 +715,7 @@ describe("shouldRevalidate", () => {
715
715
"formAction": "/fetch",
716
716
"formData": FormData {},
717
717
"formEncType": "application/x-www-form-urlencoded",
718
- "formMethod": "post ",
718
+ "formMethod": "POST ",
719
719
"json": undefined,
720
720
"nextParams": {},
721
721
"nextUrl": "http://localhost/",
@@ -779,7 +779,7 @@ describe("shouldRevalidate", () => {
779
779
"formAction": "/fetch",
780
780
"formData": FormData {},
781
781
"formEncType": "application/x-www-form-urlencoded",
782
- "formMethod": "post ",
782
+ "formMethod": "POST ",
783
783
"json": undefined,
784
784
"nextParams": {},
785
785
"nextUrl": "http://localhost/",
0 commit comments