test(dashboard): pass store to createSession in session-reconnect test
createSession now requires a TaskStore (planning.ts:765); the reconnect test had a TaskStore in scope but was still passing undefined as the third arg. Hook it up. Fixes the 1 failing test in this file. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -159,7 +159,7 @@ describe("session reconnect + replay", () => {
|
||||
|
||||
__setCreateFnAgent(async () => makePlanningAgent(planningResponses));
|
||||
|
||||
const { sessionId } = await createSession("127.0.0.11", "Build reconnect tests", undefined, "/tmp/project");
|
||||
const { sessionId } = await createSession("127.0.0.11", "Build reconnect tests", store, "/tmp/project");
|
||||
await submitResponse(sessionId, { "q-1": "medium" }, "/tmp/project");
|
||||
await submitResponse(sessionId, { "q-2": "none" }, "/tmp/project");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user