- Brand component now renders horizontal SVG logo instead of text - New AppHeader shared component replaces per-route header boilerplate - Tagline updated to "Outils pour ostéopathes animaliers" - All routes use AppHeader (HomeRoute, EditorsRoute, NewReportRoute, SvgEditorRoute) - ReportHeader and Footer simplified - DEPLOY.md URLs updated zoosteo.fr → faunosteo.com - Logo assets added (favicon.svg, logo-horizontal.svg, apple-touch-icon.png) - Removed unused eslint-disable directive in SvgEditorRoute Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
13 lines
405 B
TypeScript
13 lines
405 B
TypeScript
import { describe, it, expect } from 'vitest'
|
|
import { render, screen } from '@testing-library/react'
|
|
import Brand from '@/components/brand/Brand'
|
|
|
|
describe('Brand', () => {
|
|
it('renders the logo image with alt text', () => {
|
|
render(<Brand />)
|
|
const img = screen.getByAltText('Faunosteo')
|
|
expect(img).toBeInTheDocument()
|
|
expect(img).toHaveAttribute('src', '/logo-horizontal.svg')
|
|
})
|
|
})
|