import { render } from '@testing-library/react'; import { describe, it, expect } from 'vitest'; import { IlustracionConvergencia } from '../IlustracionConvergencia'; describe('', () => { it('is decorative: hidden from assistive tech', () => { const { container } = render(); const svg = container.querySelector('svg'); expect(svg).toHaveAttribute('aria-hidden', 'true'); expect(svg).toHaveAttribute('focusable', 'false'); }); it('draws one strand per discipline plus the strategy they serve', () => { const { container } = render(); expect(container.querySelectorAll('path')).toHaveLength(4); }); });