feat: replace title with banner image in mobile header and main layout

This commit is contained in:
Wikid82
2025-11-26 03:19:12 +00:00
parent f811983473
commit e459978797
2 changed files with 6 additions and 4 deletions

View File

@@ -44,14 +44,16 @@ const renderWithProviders = (children: ReactNode) => {
}
describe('Layout', () => {
it('renders the application title', () => {
it('renders the application logo', () => {
renderWithProviders(
<Layout>
<div>Test Content</div>
</Layout>
)
expect(screen.getAllByText('CPM+')[0]).toBeInTheDocument()
const logos = screen.getAllByAltText('CPM+')
expect(logos.length).toBeGreaterThan(0)
expect(logos[0]).toBeInTheDocument()
})
it('renders all navigation items', () => {