Skip to content

Commit d033353

Browse files
committed
Increase timeout for context test to 60s
The createSession call can take longer on CI due to CLI startup time.
1 parent 019cc31 commit d033353

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

nodejs/test/e2e/session.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ describe("Sessions", async () => {
2222
await expect(() => session.getMessages()).rejects.toThrow(/Session not found/);
2323
});
2424

25-
it("should list sessions with context field", async () => {
25+
it("should list sessions with context field", { timeout: 60000 }, async () => {
2626
// Create a session — just creating it is enough for it to appear in listSessions
2727
const session = await client.createSession();
2828
expect(session.sessionId).toMatch(/^[a-f0-9-]+$/);

0 commit comments

Comments
 (0)