@@ -10,7 +10,8 @@ const client = new Cloudflare({
1010} ) ;
1111
1212describe ( 'resource pageRules' , ( ) => {
13- test ( 'create: only required params' , async ( ) => {
13+ // generated params are incorrect
14+ test . skip ( 'create: only required params' , async ( ) => {
1415 const responsePromise = client . pageRules . create ( {
1516 zone_id : '023e105f4ecef8ad9ca31a8372d0c353' ,
1617 actions : [ { } ] ,
@@ -25,7 +26,8 @@ describe('resource pageRules', () => {
2526 expect ( dataAndResponse . response ) . toBe ( rawResponse ) ;
2627 } ) ;
2728
28- test ( 'create: required and optional params' , async ( ) => {
29+ // generated params are incorrect
30+ test . skip ( 'create: required and optional params' , async ( ) => {
2931 const response = await client . pageRules . create ( {
3032 zone_id : '023e105f4ecef8ad9ca31a8372d0c353' ,
3133 actions : [ { id : 'browser_check' , value : 'on' } ] ,
@@ -35,7 +37,8 @@ describe('resource pageRules', () => {
3537 } ) ;
3638 } ) ;
3739
38- test ( 'update: only required params' , async ( ) => {
40+ // generated params are incorrect
41+ test . skip ( 'update: only required params' , async ( ) => {
3942 const responsePromise = client . pageRules . update ( '023e105f4ecef8ad9ca31a8372d0c353' , {
4043 zone_id : '023e105f4ecef8ad9ca31a8372d0c353' ,
4144 actions : [ { } ] ,
@@ -50,7 +53,8 @@ describe('resource pageRules', () => {
5053 expect ( dataAndResponse . response ) . toBe ( rawResponse ) ;
5154 } ) ;
5255
53- test ( 'update: required and optional params' , async ( ) => {
56+ // generated params are incorrect
57+ test . skip ( 'update: required and optional params' , async ( ) => {
5458 const response = await client . pageRules . update ( '023e105f4ecef8ad9ca31a8372d0c353' , {
5559 zone_id : '023e105f4ecef8ad9ca31a8372d0c353' ,
5660 actions : [ { id : 'browser_check' , value : 'on' } ] ,
0 commit comments