import { render } from '../../../utils/theme-render-wrapper'; import { LabelWithHint } from './index'; import mockLabelWithHint from './__mocks__/mockLabelWithHint'; const labelContent = mockLabelWithHint['children']; describe('', () => { it('should render successfully', () => { const { baseElement } = render(); expect(baseElement).toBeTruthy(); }); it('should render label with asterisk', () => { const { baseElement } = render({labelContent}); expect(baseElement).toBeTruthy(); }); it('should render label with hint', () => { const { baseElement } = render(); expect(baseElement).toBeTruthy(); }); });