import { renderToString } from 'react-dom/server'; import { describe, expect, it } from 'vitest'; import { StaticLanding } from './StaticLanding'; import { heroContent } from '../features/landing/data/content'; describe('StaticLanding (prerender)', () => { const html = renderToString(); it('contains the hero heading and the section headings', () => { expect(html).toContain(' { expect(html).not.toContain('data-testid="contact-panel"'); }); });