fix: update tests for dk0 logo and boneyard-js mock, add jest moduleNameMapper
All checks were successful
CI / CD / test-build (push) Successful in 10m13s
CI / CD / deploy-dev (push) Successful in 1m48s
CI / CD / deploy-production (push) Has been skipped

This commit is contained in:
2026-04-15 14:37:50 +02:00
parent 87e337a3a0
commit 32abc7f3ef
4 changed files with 11 additions and 7 deletions

View File

@@ -23,7 +23,7 @@ jest.mock('next/navigation', () => ({
describe('Header', () => {
it('renders the header with the dk logo', () => {
render(<Header />);
expect(screen.getByText('dk')).toBeInTheDocument();
expect(screen.getByText('dk0')).toBeInTheDocument();
// Check for navigation links (appear in both desktop and mobile menus)
expect(screen.getAllByText('Home').length).toBeGreaterThan(0);