import { createRef } from 'react' import { render, screen } from '@testing-library/react' import { describe, expect, it } from 'vitest' import Form from '@/components/common/Form' import SectionTitle from '@/components/common/SectionTitle' import SubsectionTitle from '@/components/common/SubsectionTitle' import TextArea from '@/components/common/TextArea' describe ('common typography and form components', () => { it ('renders Form children inside the standard container', () => { render (
) expect (screen.getByText ('Content')).toBeInTheDocument () }) it ('renders SectionTitle as an h2', () => { render (