fixing linting and tests errors

This commit is contained in:
2025-09-08 08:23:22 +02:00
parent 8a3b7a9c04
commit 85de6f0ef5
7 changed files with 11 additions and 76 deletions

View File

@@ -5,7 +5,8 @@ import '@testing-library/jest-dom';
describe('Header', () => {
it('renders the header', () => {
render(<Header />);
expect(screen.getByText('DK')).toBeInTheDocument();
expect(screen.getByText('dk')).toBeInTheDocument();
expect(screen.getByText('0')).toBeInTheDocument();
const aboutButtons = screen.getAllByText('About');
expect(aboutButtons.length).toBeGreaterThan(0);