Skip to content

Commit 03ef5f0

Browse files
chore(internal): skip some tests (#2327)
1 parent 6426588 commit 03ef5f0

File tree

2 files changed

+12
-6
lines changed

2 files changed

+12
-6
lines changed

tests/api-resources/dns/settings/views.test.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ const client = new Cloudflare({
1010
});
1111

1212
describe('resource views', () => {
13-
test('create: only required params', async () => {
13+
// generated params are incorrect
14+
test.skip('create: only required params', async () => {
1415
const responsePromise = client.dns.settings.views.create({
1516
account_id: '023e105f4ecef8ad9ca31a8372d0c353',
1617
});
@@ -23,7 +24,8 @@ describe('resource views', () => {
2324
expect(dataAndResponse.response).toBe(rawResponse);
2425
});
2526

26-
test('create: required and optional params', async () => {
27+
// generated params are incorrect
28+
test.skip('create: required and optional params', async () => {
2729
const response = await client.dns.settings.views.create({
2830
account_id: '023e105f4ecef8ad9ca31a8372d0c353',
2931
name: 'my view',

tests/api-resources/page-rules.test.ts

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ const client = new Cloudflare({
1010
});
1111

1212
describe('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

Comments
 (0)