diff --git a/src/components/AppHeader/__tests__/AppHeader.spec.tsx b/src/components/AppHeader/__tests__/AppHeader.spec.tsx
index 9262099e..10f69696 100644
--- a/src/components/AppHeader/__tests__/AppHeader.spec.tsx
+++ b/src/components/AppHeader/__tests__/AppHeader.spec.tsx
@@ -73,10 +73,6 @@ jest.mock('@deriv-com/ui', () => ({
useDevice: jest.fn(() => ({ isDesktop: true })),
}));
-jest.mock('@deriv-com/translations', () => ({
- useTranslations: jest.fn(() => ({ localize: jest.fn(text => text) })),
-}));
-
describe('', () => {
window.open = jest.fn();
@@ -95,7 +91,6 @@ describe('', () => {
mockUseAuthData.mockReturnValue({ activeLoginid: '12345', logout: jest.fn() });
render();
- screen.debug(undefined, Infinity);
const logoutButton = screen.getByRole('button', { name: 'Logout' });
const { logout } = mockUseAuthData();
expect(logoutButton).toBeInTheDocument();