fix: update tests for dk0 logo and boneyard-js mock, add jest moduleNameMapper
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user