Skip to content

Commit

Permalink
chore(internal): skip some tests (#2327)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] committed Jan 14, 2025
1 parent 6426588 commit 03ef5f0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
6 changes: 4 additions & 2 deletions tests/api-resources/dns/settings/views.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ const client = new Cloudflare({
});

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

test('create: required and optional params', async () => {
// generated params are incorrect
test.skip('create: required and optional params', async () => {
const response = await client.dns.settings.views.create({
account_id: '023e105f4ecef8ad9ca31a8372d0c353',
name: 'my view',
Expand Down
12 changes: 8 additions & 4 deletions tests/api-resources/page-rules.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ const client = new Cloudflare({
});

describe('resource pageRules', () => {
test('create: only required params', async () => {
// generated params are incorrect
test.skip('create: only required params', async () => {
const responsePromise = client.pageRules.create({
zone_id: '023e105f4ecef8ad9ca31a8372d0c353',
actions: [{}],
Expand All @@ -25,7 +26,8 @@ describe('resource pageRules', () => {
expect(dataAndResponse.response).toBe(rawResponse);
});

test('create: required and optional params', async () => {
// generated params are incorrect
test.skip('create: required and optional params', async () => {
const response = await client.pageRules.create({
zone_id: '023e105f4ecef8ad9ca31a8372d0c353',
actions: [{ id: 'browser_check', value: 'on' }],
Expand All @@ -35,7 +37,8 @@ describe('resource pageRules', () => {
});
});

test('update: only required params', async () => {
// generated params are incorrect
test.skip('update: only required params', async () => {
const responsePromise = client.pageRules.update('023e105f4ecef8ad9ca31a8372d0c353', {
zone_id: '023e105f4ecef8ad9ca31a8372d0c353',
actions: [{}],
Expand All @@ -50,7 +53,8 @@ describe('resource pageRules', () => {
expect(dataAndResponse.response).toBe(rawResponse);
});

test('update: required and optional params', async () => {
// generated params are incorrect
test.skip('update: required and optional params', async () => {
const response = await client.pageRules.update('023e105f4ecef8ad9ca31a8372d0c353', {
zone_id: '023e105f4ecef8ad9ca31a8372d0c353',
actions: [{ id: 'browser_check', value: 'on' }],
Expand Down

0 comments on commit 03ef5f0

Please sign in to comment.