diff --git a/src/components/header-with-logo/__tests__/HeaderWithLogo.test.tsx b/src/components/header-with-logo/__tests__/HeaderWithLogo.test.tsx
index 7ada5cf..88a6a0c 100644
--- a/src/components/header-with-logo/__tests__/HeaderWithLogo.test.tsx
+++ b/src/components/header-with-logo/__tests__/HeaderWithLogo.test.tsx
@@ -1,5 +1,5 @@
import React from 'react';
-import { fireEvent, render } from '@testing-library/react';
+import { render } from '@testing-library/react';
import HeaderWithLogo from '../HeaderWithLogo';
describe('The header component', () => {
@@ -127,23 +127,6 @@ describe('The header component', () => {
expect(visuallyHiddenText?.nextSibling?.textContent).toBe(dropdownText ?? 'More');
},
);
-
- it('Invokes the onClick prop when button is clicked', () => {
- const clickFn = jest.fn();
- const { container } = render(
-
-
- ,
- );
-
- const buttonElement = container.querySelector('.nhsuk-header__menu-toggle');
-
- expect(clickFn).not.toHaveBeenCalled();
-
- fireEvent.click(buttonElement!);
-
- expect(clickFn).toHaveBeenCalledTimes(1);
- });
});
describe('The NavItem component', () => {
diff --git a/src/components/header-with-logo/__tests__/__snapshots__/HeaderWithLogo.test.tsx.snap b/src/components/header-with-logo/__tests__/__snapshots__/HeaderWithLogo.test.tsx.snap
index 7a52dfd..450a03a 100644
--- a/src/components/header-with-logo/__tests__/__snapshots__/HeaderWithLogo.test.tsx.snap
+++ b/src/components/header-with-logo/__tests__/__snapshots__/HeaderWithLogo.test.tsx.snap
@@ -172,7 +172,6 @@ exports[`The header component Matches the snapshot 1`] = `
class="nhsuk-mobile-menu-container"
>