(response: Promise<string>)
| 24 | } |
| 25 | |
| 26 | async function message(response: Promise<string>) { |
| 27 | return (JSON.parse(await response) as { error?: { message?: string } }).error?.message; |
| 28 | } |
| 29 | |
| 30 | describe("WorkspaceRuntimeBridge cumulative limits", () => { |
| 31 | it("accepts the configured call count and rejects the next call", async () => { |