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:
gsxdsm
2026-05-19 18:11:58 -07:00
parent 8e2d0b6d20
commit 44f662e8ce

View File

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