import { contactFormTemplate } from './contact-form';

describe('Contact Form Template', () => {
  it('should generate the correct template', () => {
    const rendered = contactFormTemplate({
      name: 'Test',
      email: 'test@test.com',
      subject: 'Test Email',
      message: 'Hello'
    });

    expect(rendered).toContain('<strong>From:</strong> Test');
    expect(rendered).toContain('<test@test.com>');
    expect(rendered).toContain('<strong>Subject:</strong> Test Email');
    expect(rendered).toContain('<p>Hello</p>');
  });
});
