story-207: rename LLM provider labels - Claude Code (PTY) to Claude Code, Anthropic to Anthropic API
Squash merge of feature/story-207 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -141,6 +141,18 @@ describe("ChatHeader", () => {
|
||||
expect(screen.getByText("StorkIt")).toBeInTheDocument();
|
||||
});
|
||||
|
||||
it("labels the claude-pty optgroup as 'Claude Code'", () => {
|
||||
render(<ChatHeader {...makeProps()} />);
|
||||
const optgroup = document.querySelector('optgroup[label="Claude Code"]');
|
||||
expect(optgroup).toBeInTheDocument();
|
||||
});
|
||||
|
||||
it("labels the Anthropic API optgroup as 'Anthropic API'", () => {
|
||||
render(<ChatHeader {...makeProps()} />);
|
||||
const optgroup = document.querySelector('optgroup[label="Anthropic API"]');
|
||||
expect(optgroup).toBeInTheDocument();
|
||||
});
|
||||
|
||||
it("shows disabled placeholder when claudeModels is empty and no API key", () => {
|
||||
render(
|
||||
<ChatHeader
|
||||
|
||||
Reference in New Issue
Block a user