From 290808fa648f6baac043ac3c91fc1b139a29b1f6 Mon Sep 17 00:00:00 2001 From: Ishaan Jaffer Date: Wed, 6 May 2026 16:10:39 -0700 Subject: [PATCH] test(agent-sdk): expect 'finished' instead of 'completed' for terminal RunStatus --- sdks/typescript-agent-sdk/tests/noop-roundtrip.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdks/typescript-agent-sdk/tests/noop-roundtrip.test.ts b/sdks/typescript-agent-sdk/tests/noop-roundtrip.test.ts index db565cd993d..175f5dc5c1b 100644 --- a/sdks/typescript-agent-sdk/tests/noop-roundtrip.test.ts +++ b/sdks/typescript-agent-sdk/tests/noop-roundtrip.test.ts @@ -67,7 +67,7 @@ describe("noop round-trip", () => { // Re-fetch the run by ID and confirm the terminal status. const fetched = await session.getRun(run.id); expect(fetched.id).toBe(run.id); - expect(fetched.status).toBe("completed"); + expect(fetched.status).toBe("finished"); expect(fetched.result).toBe("hi there"); }); });