Skip to content

Commit a556698

Browse files
feat: Merge branch 'vaishak/skip-worker-test' into 'main'
chore: skip workers tests which needs the spec to be published See merge request cloudflare/sdks/cloudflare-config!118
1 parent c4e6695 commit a556698

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 1809
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-77d61495fecd0d26b9adff1af0ab3510b06a3cc2c6781b9a40aabcad2f10588a.yml
33
openapi_spec_hash: 95dee3be411dda77306a41dc7d49eb35
4-
config_hash: db0ff227af424d15b1c84f467e04c023
4+
config_hash: cd65fca0235d6658a3268cefb3d7017b

tests/api-resources/workers/scripts/script-and-version-settings.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 scriptAndVersionSettings', () => {
13-
test('edit: only required params', async () => {
13+
// 422 Unprocessable Entity: needs schema update which is merged but not published
14+
test.skip('edit: only required params', async () => {
1415
const responsePromise = client.workers.scripts.scriptAndVersionSettings.edit('this-is_my_script-01', {
1516
account_id: '023e105f4ecef8ad9ca31a8372d0c353',
1617
});
@@ -23,7 +24,8 @@ describe('resource scriptAndVersionSettings', () => {
2324
expect(dataAndResponse.response).toBe(rawResponse);
2425
});
2526

26-
test('edit: required and optional params', async () => {
27+
// 422 Unprocessable Entity: needs schema update which is merged but not published
28+
test.skip('edit: required and optional params', async () => {
2729
const response = await client.workers.scripts.scriptAndVersionSettings.edit('this-is_my_script-01', {
2830
account_id: '023e105f4ecef8ad9ca31a8372d0c353',
2931
settings: {

0 commit comments

Comments
 (0)