From 130b14b8ead12a2ea650d06eae34ae21ba5c15c9 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 6 Mar 2024 16:40:49 +0000 Subject: [PATCH] feat: OpenAPI spec update via Stainless API (#117) --- .../dispatch/namespaces/scripts/scripts.test.ts | 2 +- tests/api-resources/workers/scripts/scripts.test.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/api-resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.test.ts b/tests/api-resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.test.ts index 18875be5cf..0bbb4e2074 100644 --- a/tests/api-resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.test.ts +++ b/tests/api-resources/workers-for-platforms/dispatch/namespaces/scripts/scripts.test.ts @@ -40,7 +40,7 @@ describe('resource scripts', () => { ], message: 'string', metadata: { - bindings: [{}, {}, {}], + bindings: [{ name: 'MY_ENV_VAR', text: 'my_data', type: 'plain_text' }], body_part: 'worker.js', compatibility_date: '2023-07-25', compatibility_flags: ['string', 'string', 'string'], diff --git a/tests/api-resources/workers/scripts/scripts.test.ts b/tests/api-resources/workers/scripts/scripts.test.ts index 905dfb5916..521e38ecc0 100644 --- a/tests/api-resources/workers/scripts/scripts.test.ts +++ b/tests/api-resources/workers/scripts/scripts.test.ts @@ -36,7 +36,7 @@ describe('resource scripts', () => { ], message: 'string', metadata: { - bindings: [{}, {}, {}], + bindings: [{ name: 'MY_ENV_VAR', text: 'my_data', type: 'plain_text' }], body_part: 'worker.js', compatibility_date: '2023-07-25', compatibility_flags: ['string', 'string', 'string'],