import { describe, expect, it } from 'vitest' import { EventWizardFaqFormValidation } from '@/validation/eventWizard' describe('EventWizardFaqFormValidation', () => { it('requires question and answer', () => { expect(EventWizardFaqFormValidation.safeParse({ question: '', answer: 'پاسخ' }).success).toBe(false) expect(EventWizardFaqFormValidation.parse({ question: 'سوال؟', answer: 'پاسخ' })).toEqual({ question: 'سوال؟', answer: 'پاسخ', }) }) })