test(frontend): update tests for type changes

Update all test files to use correct enum values:
- AgentPanel, AgentStatusIndicator tests
- ProjectHeader, StatusBadge tests
- IssueSummary, IssueTable tests
- StatusBadge, StatusWorkflow tests (issues)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2025-12-31 12:48:11 +01:00
parent 35af7daf90
commit f0b04d53af
8 changed files with 32 additions and 48 deletions

View File

@@ -11,12 +11,11 @@ const statusLabels: Record<IssueStatus, string> = {
in_progress: 'In Progress',
in_review: 'In Review',
blocked: 'Blocked',
done: 'Done',
closed: 'Closed',
};
describe('StatusBadge', () => {
const statuses: IssueStatus[] = ['open', 'in_progress', 'in_review', 'blocked', 'done', 'closed'];
const statuses: IssueStatus[] = ['open', 'in_progress', 'in_review', 'blocked', 'closed'];
it.each(statuses)('renders %s status correctly', (status) => {
render(<StatusBadge status={status} />);