frontend/seed/src/components/enhancers/CustomSuggestions/CustomSuggestions.test.tsx
2025-05-14 21:49:03 +02:00

12 lines
437 B
TypeScript

import React from 'react';
import { render, screen } from 'utils/test-utils';
import CustomSuggestions from './CustomSuggestions';
describe('CustomSuggestions', () => {
it('should render without crashing', () => {
const itemComponent = () => {};
const EnhancedComp = CustomSuggestions(itemComponent);
render(<EnhancedComp input={{ value: {} }} defaultValue="any" searchValue="any" items={[]} textKey="text" />);
});
});