Files
syndarix/frontend/tests/components/layout/Footer.test.tsx
Felipe Cardoso ebd307cab4 feat: complete Syndarix rebranding from PragmaStack
- Update PROJECT_NAME to Syndarix in backend config
- Update all frontend components with Syndarix branding
- Replace all GitHub URLs with Gitea Syndarix repo URLs
- Update metadata, headers, footers with new branding
- Update tests to match new URLs
- Update E2E tests for new repo references
- Preserve "Built on PragmaStack" attribution in docs

Closes #13

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

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-29 13:30:45 +01:00

36 lines
983 B
TypeScript

/**
* Tests for Footer Component
* Verifies footer rendering and content
*/
import { render, screen } from '@testing-library/react';
import { Footer } from '@/components/layout/Footer';
describe('Footer', () => {
describe('Rendering', () => {
it('renders footer element', () => {
const { container } = render(<Footer />);
const footer = container.querySelector('footer');
expect(footer).toBeInTheDocument();
});
it('displays copyright text with current year', () => {
render(<Footer />);
const currentYear = new Date().getFullYear();
expect(
screen.getByText(`© ${currentYear} Syndarix. All rights reserved.`)
).toBeInTheDocument();
});
it('applies correct styling classes', () => {
const { container } = render(<Footer />);
const footer = container.querySelector('footer');
expect(footer).toHaveClass('border-t');
expect(footer).toHaveClass('bg-muted/30');
});
});
});