History

fix(test): set 60s timeout on entire Cloudflare real-specs describe block

Rhys Sullivan committed 7 months ago

Commit 5bf70071 parent 9daabb71 file · +1 −2Browse files

Showing the changes to packages/plugins/openapi/src (1 of 1 file). Show all

Unified · Split

packages/plugins/openapi/src/sdk/real-specs.test.ts+1−2
@@ -36,7 +36,7 @@ const getResult = () => · 35 unmodified lines
36 return cachedResult;36 return cachedResult;
37 });37 });
38 38
39describe("Real specs: Cloudflare API", () => {39describe("Real specs: Cloudflare API", { timeout: 60_000 }, () => {
40 it.effect("parses the full Cloudflare spec", () =>40 it.effect("parses the full Cloudflare spec", () =>
41 Effect.gen(function* () {41 Effect.gen(function* () {
42 const doc = yield* getDoc();42 const doc = yield* getDoc();
@@ -126,7 +126,6 @@ describe("Real specs: Cloudflare API", () => { · 83 unmodified lines
126 const zoneTools = yield* executor.tools.list({ query: "zone" });126 const zoneTools = yield* executor.tools.list({ query: "zone" });
127 expect(zoneTools.length).toBeGreaterThan(0);127 expect(zoneTools.length).toBeGreaterThan(0);
128 }),128 }),
129 { timeout: 60_000 },
130 );129 );
131 130
132 it.effect("schema deduplication: definitions stored once, tools reference via $ref", () =>131 it.effect("schema deduplication: definitions stored once, tools reference via $ref", () =>

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t