@@ -10,7 +10,8 @@ const client = new Cloudflare({
10
10
} ) ;
11
11
12
12
describe ( 'resource pageRules' , ( ) => {
13
- test ( 'create: only required params' , async ( ) => {
13
+ // generated params are incorrect
14
+ test . skip ( 'create: only required params' , async ( ) => {
14
15
const responsePromise = client . pageRules . create ( {
15
16
zone_id : '023e105f4ecef8ad9ca31a8372d0c353' ,
16
17
actions : [ { } ] ,
@@ -25,7 +26,8 @@ describe('resource pageRules', () => {
25
26
expect ( dataAndResponse . response ) . toBe ( rawResponse ) ;
26
27
} ) ;
27
28
28
- test ( 'create: required and optional params' , async ( ) => {
29
+ // generated params are incorrect
30
+ test . skip ( 'create: required and optional params' , async ( ) => {
29
31
const response = await client . pageRules . create ( {
30
32
zone_id : '023e105f4ecef8ad9ca31a8372d0c353' ,
31
33
actions : [ { id : 'browser_check' , value : 'on' } ] ,
@@ -35,7 +37,8 @@ describe('resource pageRules', () => {
35
37
} ) ;
36
38
} ) ;
37
39
38
- test ( 'update: only required params' , async ( ) => {
40
+ // generated params are incorrect
41
+ test . skip ( 'update: only required params' , async ( ) => {
39
42
const responsePromise = client . pageRules . update ( '023e105f4ecef8ad9ca31a8372d0c353' , {
40
43
zone_id : '023e105f4ecef8ad9ca31a8372d0c353' ,
41
44
actions : [ { } ] ,
@@ -50,7 +53,8 @@ describe('resource pageRules', () => {
50
53
expect ( dataAndResponse . response ) . toBe ( rawResponse ) ;
51
54
} ) ;
52
55
53
- test ( 'update: required and optional params' , async ( ) => {
56
+ // generated params are incorrect
57
+ test . skip ( 'update: required and optional params' , async ( ) => {
54
58
const response = await client . pageRules . update ( '023e105f4ecef8ad9ca31a8372d0c353' , {
55
59
zone_id : '023e105f4ecef8ad9ca31a8372d0c353' ,
56
60
actions : [ { id : 'browser_check' , value : 'on' } ] ,
0 commit comments