We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 388dc56 commit f789081Copy full SHA for f789081
1 file changed
src/gateway/gateway.test.ts
@@ -238,6 +238,13 @@ describe("gateway e2e", () => {
238
239
expect(payload?.status).toBe("accepted");
240
expect(typeof payload?.runId).toBe("string");
241
+
242
+ const abortPayload = await client.request(
243
+ "sessions.abort",
244
+ { runId: payload.runId },
245
+ { timeoutMs: 5_000 },
246
+ );
247
+ expect(["aborted", "no-active-run"]).toContain(abortPayload?.status);
248
} finally {
249
await disconnectGatewayClient(client);
250
await server.close({ reason: "mock openai test complete" });
0 commit comments