import { render } from '@testing-library/react'; import { describe, it, expect } from 'vitest'; import GeometricBackground from './GeometricBackground'; describe('GeometricBackground', () => { it('renders without crashing when mounted', () => { const { container } = render(); // The component uses useEffect to set mounted=true, so it might render null initially. // However, in tests without strict act() wrappers for the initial effect, it might return empty. expect(container).toBeDefined(); }); });