Skip to content

Commit 6d4331e

Browse files
test(poe): name the per-request timeout contract in the test title
1 parent adff4c4 commit 6d4331e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/api/providers/__tests__/poe.spec.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -846,7 +846,7 @@ describe("PoeHandler", () => {
846846
expect(callArgs.abortSignal).not.toBe(controller.signal)
847847
})
848848

849-
it("completePrompt rejects with AbortError when the per-request timeout expires before the response", async () => {
849+
it("completePrompt rejects with TimeoutError when the per-request timeout expires before the response", async () => {
850850
const handler = new PoeHandler({ poeApiKey: "key", apiModelId: "openai/gpt-4o" })
851851
// Emulate a slow response: the generation settles only once the merged abort
852852
// signal (which embeds the per-request timeout) fires.

0 commit comments

Comments
 (0)