import { render, screen } from '@testing-library/react'; import { describe, it, expect } from 'vitest'; import { Hero } from '../Hero'; describe('', () => { it('renders the eyebrow', () => { render(); expect(screen.getByText(/tu estratega de crecimiento/i)).toBeInTheDocument(); }); it('renders the headline copy', () => { render(); expect(screen.getByText(/Tu negocio/i)).toBeInTheDocument(); expect(screen.getByText(/más esfuerzo/i)).toBeInTheDocument(); expect(screen.getByText(/más claridad/i)).toBeInTheDocument(); }); it('renders the CTA', () => { render(); expect(screen.getByRole('link', { name: /define tu siguiente movimiento/i })).toBeInTheDocument(); }); it('does NOT render scarcity (cupos/cohorte)', () => { const { container } = render(); expect(container.textContent).not.toMatch(/cupos|cohorte|generación fundadora/i); }); });