import React from 'react' import renderer from 'react-test-renderer' import { shallow } from 'enzyme' import { A11yProps } from '../_utils/interfaces' import { HintBubble } from './HintBubble' import { Hint, HintBubblePosition } from './index' const testChild = (a11yAttrs: A11yProps): React.ReactNode =>
I have an hint.
const defaultProps = { mainTitle: 'Hint Title', closeButtonTitle: 'Close', description: 'Hint Description', } describe('Hint', () => { it('Default rendering (above)', () => { const hint = renderer.create(