import { render } from '@testing-library/react' import React from 'react' import { Tooltip } from './index' describe('Tooltip', () => { it('should render the tooltip with given text', () => { const { getByText } = render( ) expect(getByText('This is a tooltip')) }) })