Skip to content

Commit 13acc76

Browse files
OpenSource03claude
andcommitted
fix: update layout-constants test expectations to match current values
TOOL_PICKER_WIDTH_ISLAND changed from 58 to 48 and BOTTOM_CHAT_MAX_WIDTH_CLASS from max-w-[61.5rem] to max-w-[52.5rem] but the test assertions were not updated. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 7efb871 commit 13acc76

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

electron/src/lib/__tests__/layout-constants.test.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ describe("layout constants", () => {
2424
});
2525

2626
it("uses the shared wider chat input width class", () => {
27-
expect(BOTTOM_CHAT_MAX_WIDTH_CLASS).toBe("max-w-[61.5rem]");
28-
expect(CHAT_INPUT_MAX_WIDTH_CLASS).toBe("max-w-[61.5rem]");
27+
expect(BOTTOM_CHAT_MAX_WIDTH_CLASS).toBe("max-w-[52.5rem]");
28+
expect(CHAT_INPUT_MAX_WIDTH_CLASS).toBe("max-w-[52.5rem]");
2929
expect(CHAT_INPUT_MAX_WIDTH_CLASS).toBe(BOTTOM_CHAT_MAX_WIDTH_CLASS);
3030
});
3131

@@ -36,10 +36,10 @@ describe("layout constants", () => {
3636
expect(ISLAND_LAYOUT_MARGIN).toBe(12);
3737
expect(ISLAND_RADIUS).toBe(12);
3838
expect(ISLAND_CONTROL_RADIUS).toBe(11);
39-
expect(TOOL_PICKER_WIDTH_ISLAND).toBe(58);
39+
expect(TOOL_PICKER_WIDTH_ISLAND).toBe(48);
4040
expect(RESIZE_HANDLE_WIDTH_ISLAND).toBe(4);
4141
expect(WINDOWS_FRAME_BUFFER_WIDTH).toBe(16);
42-
expect(getBootstrapMinWindowWidth("darwin")).toBe(1542);
43-
expect(getBootstrapMinWindowWidth("win32")).toBe(1558);
42+
expect(getBootstrapMinWindowWidth("darwin")).toBe(1532);
43+
expect(getBootstrapMinWindowWidth("win32")).toBe(1548);
4444
});
4545
});

0 commit comments

Comments
 (0)