import { render } from '@testing-library/react'; import { describe, it, expect } from 'vitest'; import { ProgresoLectura } from '../ProgresoLectura'; describe('', () => { it('is decorative: hidden from assistive tech', () => { const { container } = render(); expect(container.firstElementChild).toHaveAttribute('aria-hidden', 'true'); }); it('renders as a gold rule anchored to the bottom edge', () => { const { container } = render(); const cls = container.firstElementChild?.className ?? ''; expect(cls).toContain('bg-dorado'); expect(cls).toContain('absolute'); }); });