import { describe, it, expect } from 'vitest' import { exportPage } from '@/lib/exporter/html' import { pageSchema, type Page } from '@/lib/schema/page' function makePage(): Page { return pageSchema.parse({ title: 'Head Links', locale: 'en', theme: { primaryColor: '#2563eb', fontFamily: 'Inter' }, sections: [], form: { actionUrl: '', fields: [], spamProtection: { honeypotFieldName: '_hp', minSubmitSeconds: 2 } }, seo: { title: 't', description: 'd' }, }) } describe('Exporter - head 링크 토큰', () => { it('site.webmanifest 링크를 포함한다', () => { const out = exportPage(makePage()) expect(out.html).toMatch(//) }) })