BRIDGE_Modul-S_prod / src /components /GeometricBackground.test.tsx
sitcod3's picture
build: add Docker support and deployment pipeline
9e7f815
Raw History Blame Contribute Delete
548 Bytes
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(<GeometricBackground />);
// 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();
});
});