import { describe, test, expect } from 'vitest'; import { SubscribeForm } from './SubscribeForm'; const toHtml = (SubscribeForm as any).toHtml; describe('SubscribeForm.toHtml hardcoded attributes stay hardcoded (no raw prop breakout)', () => { test('form method is always POST regardless of any injected props', () => { const { html } = toHtml({ heading: 'Join us', method: 'GET">' } as any, ''); expect(html).toMatch(/