test(agent-sdk): expect 'finished' instead of 'completed' for terminal RunStatus

This commit is contained in:
Ishaan Jaffer 2026-05-06 16:10:39 -07:00
parent f68bd10230
commit 290808fa64
No known key found for this signature in database

View file

@ -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");
});
});