fix: biome formatting in Chat.test.tsx and ChatInput.tsx

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Dave
2026-03-18 15:07:49 +00:00
parent 3923aafb71
commit dd83e0f4ee
2 changed files with 43 additions and 12 deletions

View File

@@ -631,7 +631,10 @@ describe("Chat localStorage persistence (Story 145)", () => {
// Verify sendChat was called with ALL prior messages + the new one
expect(lastSendChatArgs).not.toBeNull();
const args = lastSendChatArgs as unknown as { messages: Message[]; config: unknown };
const args = lastSendChatArgs as unknown as {
messages: Message[];
config: unknown;
};
expect(args.messages).toHaveLength(3);
expect(args.messages[0]).toEqual({
role: "user",
@@ -1350,7 +1353,14 @@ describe("Bug 264: Claude Code session ID persisted across browser refresh", ()
expect(lastSendChatArgs).not.toBeNull();
expect(
((lastSendChatArgs as unknown as { messages: Message[]; config: unknown })?.config as Record<string, unknown>).session_id,
(
(
lastSendChatArgs as unknown as {
messages: Message[];
config: unknown;
}
)?.config as Record<string, unknown>
).session_id,
).toBe("persisted-session-xyz");
});