/** * Smoke test — verifies the test runner works and React renders. * The full App component imports ESM-only packages (react-markdown, mermaid) * that require special Jest transforms. Component-level tests should test * individual components in isolation rather than mounting the entire App. */ import React from 'react'; import { render } from '@testing-library/react'; // Minimal component render to verify the test environment works test('React renders without crashing', () => { const { container } = render(
ok
); expect(container.textContent).toBe('ok'); });