story-kit: merge 144_story_add_build_timestamp_and_persist_chat_history_across_rebuilds

This commit is contained in:
Dave
2026-02-24 14:01:55 +00:00
parent 8a37c958e7
commit de79644263
5 changed files with 35 additions and 0 deletions

View File

@@ -131,6 +131,11 @@ describe("ChatHeader", () => {
expect(onToggleTools).toHaveBeenCalled();
});
it("displays the build timestamp in human-readable format", () => {
render(<ChatHeader {...makeProps()} />);
expect(screen.getByText("Built: 2026-01-01 00:00")).toBeInTheDocument();
});
it("shows disabled placeholder when claudeModels is empty and no API key", () => {
render(
<ChatHeader